mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 07:33:33 +08:00
EKF: fix bug in IMU error application timing patch
This commit is contained in:
+1
-2
@@ -530,8 +530,7 @@ void Ekf::predictState()
|
||||
corrected_delta_vel(2) -= _state.accel_z_bias;
|
||||
|
||||
// correct delta angles for earth rotation rate
|
||||
corrected_delta_ang = _imu_sample_delayed.delta_ang - _R_to_earth.transpose() * _earth_rate_NED *
|
||||
_imu_sample_delayed.delta_ang_dt;
|
||||
corrected_delta_ang -= _R_to_earth.transpose() * _earth_rate_NED * _imu_sample_delayed.delta_ang_dt;
|
||||
|
||||
// convert the delta angle to a delta quaternion
|
||||
Quaternion dq;
|
||||
|
||||
Reference in New Issue
Block a user