-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
[VTOL] No Global Position Failsafe not working properly in FW mode #12758
Comments
Can we get Currently there is no new fw virtual attitude setpoint generated throughout the failsafe duration, so this line overwrites the attitude setpoint set by the failsafe by the last virtual setpoint before the failsafe (if my understanding is right). This should hopefully fix the bank loiter part. About recovering the global position and continuing the mission I wouldn't know where to start. If the loiter times out and the GPS still hasn't recovered I think it would be best to force a MC landing |
Reply to myself: yes, we can. |
@ThomasRigi thanks for you PR #12778 , this should fix at least the fixed-bank loiter. The recovery, termination and the overall behavior for VTOLs is still open, maybe we find some time in the near future to push further all of that. Have you by now figured out what the root of the No global position in your flight? It looks for me as if the problem is within the EKF, and not from the GPS, as the GPS speed seems good right before the fail is triggered: Also: I noticed that you had QuadChute towards the end of the flight, was that related to the other stuff? |
@sfuhrer this came up in the dev call because it's a release blocker. Do you think we can have a look this together? |
Fixed in #12778. |
Describe the bug
The following points don't work as they should upon triggering a GPS Failsafe on a VTOL drone in FW (flying in an AUTO mode):
To Reproduce
Steps to reproduce the behavior:
make px4_sitl gazebo_standard_vtol
gpssim stop
gpssim start
Expected behavior
The drone should do the fixed bank loiter as a FW plane and upon recovery of its global position continue its mission or whatever it was doing before.
Log Files and Screenshots
SITL, v1.9 : https://logs.px4.io/plot_app?log=5befa577-0ade-4c90-b82c-045830915138
SITL, current master : https://logs.px4.io/plot_app?log=ac15492a-04b5-4e27-851e-cdb00cb27d62
Real flight, v1.9 : https://logs.px4.io/plot_app?log=7c1a4be9-8e6b-41e2-b7fa-dd29cd270795
Drone (please complete the following information):
Additional context
I tested the Failsafe on the Gazebo plane and it works as it should. I also tested the Failsafe on SITL VTOL in MC and it's good too.
Insights on the root cause of the failsafe on the real drone would be very welcome too :) I can't quite pin down what caused the velocity and position innovations to diverge suddenly.
I know that the vibrations and the magnetic interference could have been part of the issue, but we have over 10h of flight time with the same setup (or even more vibrations) on v1.8.2 where to my knowledge it never occurred and another 5h on v1.9 (with two triggers so far)
The text was updated successfully, but these errors were encountered: