Search found 4 matches

by minisol0175
Sun Oct 10, 2021 11:22 am
Forum: Developer Discussions
Topic: Situation(Free Fall) awareness and poshold
Replies: 1
Views: 712

Situation(Free Fall) awareness and poshold

Hello!

When I drop or throw a drone with the motor turned off while the power is on, I want to turn on the motor and do poshold or althold.

In the firmware, I think 'sitaw.c' is the related code.

But the latest version doesn't have that code...

What code can I touch to do this? Thanks!
by minisol0175
Tue Oct 05, 2021 8:31 am
Forum: General discussions
Topic: To situation(drop) awareness and poshold
Replies: 1
Views: 9112

To situation(drop) awareness and poshold

Hello!

When I drop or throw a drone with the motor turned off while the power is on, I want to turn on the motor and do poshold or althold.

In the firmware, I think 'sitaw.c' is the related code.

But the latest version doesn't have that code.

What code can I touch to do this? Thanks!
by minisol0175
Wed Jun 16, 2021 4:41 am
Forum: External positioning systems
Topic: How to change the LED color at the same time?
Replies: 3
Views: 10745

Re: How to change the LED color at the same time?

Thank you! And I tried that. result: AttributeError: Crazyflie instance has no attribute 'param' I think this is because I used crazyflie_ros. So I deleted 'param' and tried again, like this cf.set_value('ring.fadeTime', str(time)) result: AttributeError: Crazyflie instance has no attribute 'set_val...
by minisol0175
Mon Jun 14, 2021 9:41 am
Forum: External positioning systems
Topic: How to change the LED color at the same time?
Replies: 3
Views: 10745

How to change the LED color at the same time?

Hi everyone, I'm trying to change the color of the LED rings at the same time. I used crazyflie_ros and vicon. When I try this code, cf1.setparam("ring/solidbule", 100) cf1.setparam("ring/solidred", 100) cf1.setparam("ring/solidgreen", 100) cf1 meens crazyflie no.1. I u...