-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
altitude mode not failing, when all height sources are missing #12074
Comments
Looks like we need to handle altitude loss failsafes (currently not implemented iirc.) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Thanks, this is something to consider when we add testing for these failsafes. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
I think, this is still an issue. (Looking at you, stale bot.) |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Should this still be left open? Unfortunately I don't have time to fix this myself currently. And I don't really know how the whole failsafe system is supposed to work anyway. (But if you want to write tests for this, there should be a specification at some time 😉) |
It sounds like it's a bug, so leave it open. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
It stays in altitude mode because the |
When flying in Altitude mode and all height sources failed (GPS and Baro), PX4 does not switch to stabilized mode but stays in altitude mode, which is obviously not possible to achieve any more. (Only tested in jmavsim STIL)
To Reproduce
Steps to reproduce the behavior:
commander takeoff
in the PX4 shellgpssim stop
in the PX4 shellbarosim stop
in the PX4 shell)The issue is the same, if the barometer fails first (then PX4 will do a failover to GPS height) and GPS is turned off second.
Expected behavior
PX4 should switch from altitude to stabilized or at least print a warning in QGC.
Log Files and Screenshots
https://logs.px4.io/plot_app?log=0d53ff6b-2cb8-4955-8940-05f1bb611fff
(I still had a patch running, that disables the magnetometer, so there is no mag data. But this does not affect the issue.)
Additional context
Here is my patch which adds a
stop
command to thebarosim
:The text was updated successfully, but these errors were encountered: