flow terrain: use dedicated variable for last fusion time

This avoids confusion with the flow "for velocity" fusion in the main
EKF
This commit is contained in:
bresch
2021-02-08 23:26:33 -05:00
committed by Daniel Agar
parent 9521e81b09
commit cd38621dd6
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -223,6 +223,7 @@ bool Ekf::initialiseFilter()
_time_last_delpos_fuse = _time_last_imu;
_time_last_hor_vel_fuse = _time_last_imu;
_time_last_hagl_fuse = _time_last_imu;
_time_last_flow_terrain_fuse = _time_last_imu;
_time_last_of_fuse = _time_last_imu;
// reset the output predictor state history to match the EKF initial values