mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +08:00
ekf2: optical flow update last hor vel timestamp on success
This commit is contained in:
@@ -99,6 +99,8 @@ bool Ekf::fuseOptFlow(VectorState &H, const bool update_terrain)
|
||||
_aid_src_optical_flow.time_last_fuse = _time_delayed_us;
|
||||
_aid_src_optical_flow.fused = true;
|
||||
|
||||
_time_last_hor_vel_fuse = _time_delayed_us;
|
||||
|
||||
if (update_terrain) {
|
||||
_time_last_terrain_fuse = _time_delayed_us;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user