mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 20:23:34 +08:00
Do not update time_last_imu outside of setGpsData
This commit is contained in:
committed by
Mathieu Bresciani
parent
89bfcc2167
commit
3651ed37fb
@@ -548,7 +548,6 @@ void Ekf::controlGpsFusion()
|
||||
|
||||
ECL_INFO_TIMESTAMPED("starting GPS fusion");
|
||||
_control_status.flags.gps = true;
|
||||
_time_last_gps = _time_last_imu;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user