From 3651ed37fb32c9c0a93a96cd47759fb6c7a32725 Mon Sep 17 00:00:00 2001 From: kamilritz Date: Thu, 2 Jul 2020 18:54:32 +0200 Subject: [PATCH] Do not update time_last_imu outside of setGpsData --- EKF/control.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/EKF/control.cpp b/EKF/control.cpp index 04a0f1d597..c727bbb963 100644 --- a/EKF/control.cpp +++ b/EKF/control.cpp @@ -548,7 +548,6 @@ void Ekf::controlGpsFusion() ECL_INFO_TIMESTAMPED("starting GPS fusion"); _control_status.flags.gps = true; - _time_last_gps = _time_last_imu; } }