To situation(drop) awareness and poshold

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
minisol0175
Beginner
Posts: 4
Joined: Mon Jun 14, 2021 1:33 am

To situation(drop) awareness and poshold

Post 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!
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: To situation(drop) awareness and poshold

Post 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!
Post Reply