mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 14:03:35 +08:00
Make vel_pos innov gate variable name clearer
This commit is contained in:
committed by
Paul Riseborough
parent
4237d7ccd7
commit
4b30de587f
+2
-2
@@ -736,8 +736,8 @@ void Ekf::controlGpsFusion()
|
||||
_vel_pos_innov[4] = _state.pos(1) - _gps_sample_delayed.pos(1);
|
||||
|
||||
// set innovation gate size
|
||||
_posInnovGateNE = fmaxf(_params.posNE_innov_gate, 1.0f);
|
||||
_hvelInnovGate = fmaxf(_params.vel_innov_gate, 1.0f);
|
||||
_posInnovGateNE = fmaxf(_params.gps_pos_innov_gate, 1.0f);
|
||||
_hvelInnovGate = _vvelInnovGate = fmaxf(_params.gps_vel_innov_gate, 1.0f);
|
||||
}
|
||||
|
||||
} else if (_control_status.flags.gps && (_imu_sample_delayed.time_us - _gps_sample_delayed.time_us > (uint64_t)10e6)) {
|
||||
|
||||
Reference in New Issue
Block a user