Describe the bug
If there is a fallback to Altitude mode from Position, the vehicle cannot recover back to position mode (once available) if it is commanded via MAVLink (instead of RC).
To Reproduce
Steps to reproduce the behavior:
Get a GPS-only drone and set it up to fly via MAVLink (e.g. Tablet + Joystick)
Fly in position control
Start a mavlink shell and type "gps stop", the vehicle will go into altitude mode
Type "GPS start -b 115200" in the mavlink shell
You can wait all you want, the drone will remain in Altitude mode
Expected behavior
The drone should re-engage position control once the estimate becomes valid again.
Describe the bug If there is a fallback to Altitude mode from Position, the vehicle cannot recover back to position mode (once available) if it is commanded via MAVLink (instead of RC).
To Reproduce Steps to reproduce the behavior:
Expected behavior The drone should re-engage position control once the estimate becomes valid again.
Log Files and Screenshots https://review.px4.io/plot_app?log=06b6f16a-de9b-4806-bd77-8fc86324e339
We can see that the position estimate re-appears when the GPS kicks back in, but the mode does not switch.
Drone (please complete the following information):