Skip to content

Commit

Permalink
ekf2: optical flow update last hor vel timestamp on success
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jul 17, 2024
1 parent 691fdf7 commit f8f8ddc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f8f8ddc

Please sign in to comment.