-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
Adaptive quadchute #8144
Adaptive quadchute #8144
Conversation
The local position setpoint is currently only updated by the multicopter position controller. Additionally, I strongly suggest we reconsider this pattern of the vtol attitude controller monitoring everything with its own set of acceptability criteria. Both the FW and MC controllers already know their error, and are in a much better position to tell you if it's problematic or not. Likewise for the roll and pitch limits the controllers already know what the limits are. One idea is to have each controller publish a status message consisting of simple flags. Then the system state machine can act on this to warn the user, initiate an appropriate failsafe if possible (parachute, quadchute, emergency landing, etc). |
Correct, in this implementation it is only used in MC mode (transition). I believe the entire safety system is due for an overhaul. Could we get this in for 1.7 and rework the entire system in a next release? |
I suppose that's fine, but the longer we put it off the worse we break existing setups. This implementation could be okay for now, but you need to be careful checking that the relevant topics have actually updated and you're in a mode that's even capable of controlling altitude. Doing this in the right spot is actually less work and safer. |
fd9c0cc
to
02248b3
Compare
I have tested the current implementation extensively in SITL using all flight modes. It performs as expected. |
check altctl mode |
80cd7f8
to
b79825f
Compare
tested, no regression: https://logs.px4.io/plot_app?log=7f323da0-8f75-46f1-aba9-f0a68150b691 |
@dagar can you review? |
Adaptive quadchute monitors the negative altitude error for VTOL during transition and fixed wing flight. In contrast to the current quadchute code this looks at the altitude error and not a static altitude threshold. This enables quadchute to be active when missions are flown on large altitude/terrain differences.