Skip to content
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

Merged
merged 7 commits into from Jan 27, 2023

Conversation

breadoven
Copy link
Collaborator

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.

@breadoven
Copy link
Collaborator Author

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.

@DzikuVx DzikuVx added this to the 6.0 milestone Jan 27, 2023
@DzikuVx
Copy link
Member

DzikuVx commented Jan 27, 2023

@breadoven code from you is always a worthy addition! Happy to merge

@DzikuVx DzikuVx merged commit bb79ad8 into iNavFlight:master Jan 27, 2023
@breadoven
Copy link
Collaborator Author

@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 ?

@breadoven breadoven deleted the abo_manual_emerg_landing branch January 28, 2023 10:36
@DzikuVx
Copy link
Member

DzikuVx commented Jan 28, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REQUEST] Manual (Emergency) Landing for Wings and Copters
3 participants