diff --git a/EKF/ekf.cpp b/EKF/ekf.cpp index 61d2a57be0..35488673d1 100644 --- a/EKF/ekf.cpp +++ b/EKF/ekf.cpp @@ -567,6 +567,9 @@ bool Ekf::initialiseFilter(void) _time_last_hagl_fuse = _time_last_imu; _time_last_of_fuse = _time_last_imu; + // reset the output predictor state history to match the EKF initial values + alignOutputFilter(); + return true; } }