Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

If changing mode to LOITER fails, fallback to ALT_HOLD#298

Open
nickspeal wants to merge 1 commit intomasterfrom
nick/failsafe-mode-change-fallback
Open

If changing mode to LOITER fails, fallback to ALT_HOLD#298
nickspeal wants to merge 1 commit intomasterfrom
nick/failsafe-mode-change-fallback

Conversation

@nickspeal
Copy link
Copy Markdown

We've seen a case where the drone entered failsafe.GPS_GLITCH state and remained in GUIDED mode. They tried to take manual control by changing mode to LOITER. The system refused to enter the LOITER mode, because of the GPS_GLITCH failsafe state.

This PR introduces a fallback mechanism where it attempts to enter ALT_HOLD mode after a failed attempt to enter LOITER mode.

@proficnc
Copy link
Copy Markdown
Contributor

Are you doing a new release? Or should we look at integrating this in the community?

@nickspeal
Copy link
Copy Markdown
Author

This is a candidate for a change to Site Scan behaviour.

@proficnc
Copy link
Copy Markdown
Contributor

Ok, cool

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants