mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 04:13:34 +08:00
EKF: Don't use magnetometer with optical flow only nav if GPS checks are failing
This commit is contained in:
committed by
Lorenz Meier
parent
84516760c0
commit
0160aaa568
@@ -500,7 +500,6 @@ void Ekf::fuseOptFlow()
|
||||
fuse(gain, _flow_innov[obs_index]);
|
||||
|
||||
_time_last_of_fuse = _time_last_imu;
|
||||
_gps_check_fail_status.value = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user