mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 02:23:34 +08:00
Merge branch 'master' into pr-ekfOptFlowGyro
This commit is contained in:
+1
-1
@@ -635,7 +635,7 @@ void Ekf::controlGpsFusion()
|
||||
_hvelInnovGate = fmaxf(_params.vel_innov_gate, 1.0f);
|
||||
}
|
||||
|
||||
} else if (_control_status.flags.gps && (_time_last_imu - _time_last_gps > (uint64_t)10e6)) {
|
||||
} else if (_control_status.flags.gps && (_imu_sample_delayed.time_us - _gps_sample_delayed.time_us > (uint64_t)10e6)) {
|
||||
_control_status.flags.gps = false;
|
||||
ECL_WARN("EKF GPS data stopped");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user