Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
add switch to GUI and implement alt hold toggle mode #67
alt hold hold can be activated by using the new button in the main view. By default toggle mode is disabled and crazyflie is in alt hold mode as long as at least one joystick is controlled by the user. On release it will fall immediately.
With toggle mode enabled, there is no need to keep a finger on the screen. For safety reasons there is a big emergency button between the joysticks that should be easy to hit without looking onto the screen. There are three additional settings in [settings -> flight control settings -> alt hold toggle preferences] to allow easy transition from alt hold to normal flying without landing:
Thanks @jsschell for this puill request and sorry for the lack of response. I've tested the changes a while ago and I like the idea that at least one finger needs to be on a joystick. The big emergency button is not safe enough IMHO.