mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 16:38:52 +08:00
q_estimator: correctly handle loss of external yaw estimation
This commit is contained in:
committed by
Kabir Mohammed
parent
6257037924
commit
d93c3da172
@@ -339,6 +339,7 @@ void AttitudeEstimatorQ::task_main()
|
||||
}
|
||||
|
||||
// Update vision and motion capture heading
|
||||
_ext_hdg_good = false;
|
||||
bool vision_updated = false;
|
||||
orb_check(_vision_odom_sub, &vision_updated);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user