Page 1 of 1

Situation(Free Fall) awareness and poshold

Posted: Sun Oct 10, 2021 11:22 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: Situation(Free Fall) awareness and poshold

Posted: Tue Oct 12, 2021 7:58 am
by tobias
The sitaw.c code was removed and partly replaced by the supervisor.c. You should be able to move the free fall code from the sitaw.c in there. I'm not sure it is the right place thought but for you only that doesn't matter.