mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:58:53 +08:00
ekf2: resetQuatStateYaw() set _time_last_heading_fuse
This commit is contained in:
@@ -1318,6 +1318,8 @@ void Ekf::resetQuatStateYaw(float yaw, float yaw_variance)
|
||||
|
||||
_state_reset_status.reset_count.quat++;
|
||||
|
||||
_time_last_heading_fuse = _time_delayed_us;
|
||||
|
||||
_last_static_yaw = NAN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user