ekf2: airspeed update last hor vel timestamp if successfully updating all states

This commit is contained in:
Daniel Agar
2024-07-05 12:43:07 -04:00
parent 57c1ba545f
commit 691fdf713c
@@ -217,6 +217,10 @@ void Ekf::fuseAirspeed(const airspeedSample &airspeed_sample, estimator_aid_sour
if (is_fused) {
aid_src.time_last_fuse = _time_delayed_us;
if (!update_wind_only) {
_time_last_hor_vel_fuse = _time_delayed_us;
}
}
}