You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
"Failsafe enabled: no local position" when EKF2 switches from GPS to external vision. You can read my diary on discuss.px4.io, which is a lot more detailed.
To Reproduce
Steps to reproduce the behavior:
drone with GPS and SLAM, visual odometry or similar via /mavros/vision_pose, VISION_POSITION_ESTIMATE or similar
EKF2_AID_MASK is GPS + EV_POS + EV_YAW
take off, hover/fly for at least 30 seconds (due to some internal EKF2 checks, see forum post)
fly into a GPS-denied area (tunnel, hall etc.)
Expected behavior
EKF2 recognizes a decrease in GPS quality and switches to EV as primary localization source.
Because GPS was bad and EV can be imperfect as well, it needs to reset its position state, to avoid failing _vel_pos_test_ratio checks.
@artifactz is your vision yaw in the NED frame? Because if it's not, then your settings are inappropriate - you should be using rotate external vision instead of vision yaw in EKF2_AID_MASK.
Description
"Failsafe enabled: no local position" when EKF2 switches from GPS to external vision. You can read my diary on discuss.px4.io, which is a lot more detailed.
To Reproduce
Steps to reproduce the behavior:
/mavros/vision_pose
,VISION_POSITION_ESTIMATE
or similarEKF2_AID_MASK
is GPS + EV_POS + EV_YAWExpected behavior
EKF2 recognizes a decrease in GPS quality and switches to EV as primary localization source.
Because GPS was bad and EV can be imperfect as well, it needs to reset its position state, to avoid failing
_vel_pos_test_ratio
checks.Log File
https://logs.px4.io/plot_app?log=b7f5fb21-808a-42eb-844d-18901eb24620
Screenshot
pos_test_ratio
explodes as soon as stopping GPS useDrone
The text was updated successfully, but these errors were encountered: