New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual emergency landing FW and MR #8686
Manual emergency landing FW and MR #8686
Conversation
Now tested on multirotor and it behaved as expected ... landed and disarmed. Multi switching of PosHold to trigger the landing doesn't do anything obviously undesirable. So this should be good to merge if considered a worthwhile addition. |
@breadoven code from you is always a worthy addition! Happy to merge |
I guess with features like this, that probably won't be used much, it's always a question of is it worth the increase in firmware size. Some boards don't seem to have much space left, e.g. HGLRCF722 is now up to 95%. Although half the flash memory on that board seems to be unused, ITCM_FLASH1 ? |
Closes #5000.
Allows an emergency landing to be triggered manually as required.
Landing started or ended by rapid toggling of Poshold mode, at least 5 times at a minimum rate of 1Hz.
Emergency landing position hold added which will work for all emergency landings regardless of cause so long as a valid position is available.
Failsafe inhibited during manual emergency landing to allow landing to continue if Failsafe triggered whilst active.
HITL tested on fixed wing OK. Still needs testing on multirotor.