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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickspeal
Copy link

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
Contributor

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

@nickspeal
Copy link
Author

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

@proficnc
Copy link
Contributor

Ok, cool

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.

2 participants