q_estimator: correctly handle loss of external yaw estimation

This commit is contained in:
ArkadiuszNiemiec
2019-02-13 08:51:41 -05:00
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);