Page 1 of 1

To situation(drop) awareness and poshold

Posted: Tue Oct 05, 2021 8:31 am
by minisol0175
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!

Re: To situation(drop) awareness and poshold

Posted: Wed Jan 12, 2022 9:32 am
by kristoffer
Hi, sorry for the late rely!

The functionality in sitaw (Situation Awareness modules) has been moved to the supervisor module instead. Unfortunately we decided to remove the free fall functionality as we did not think it was used that much. If you are interested in this functionality, please consider issuing a pull request where you add it again (you can get some inspiration here https://github.com/bitcraze/crazyflie-f ... rc/sitaw.c).
Let us know if you need any help!