mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -04:00
SITL: SIM_Vicon fix observation interval limit
This commit is contained in:
parent
dceb76c9f1
commit
267d19b0de
@ -244,6 +244,7 @@ void Vicon::update_vicon_position_estimate(const Location &loc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set previous position & attitude
|
// set previous position & attitude
|
||||||
|
last_observation_usec = now_us;
|
||||||
_position_prev = pos_corrected;
|
_position_prev = pos_corrected;
|
||||||
_attitude_prev = attitude_curr;
|
_attitude_prev = attitude_curr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user