mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
Update EKF2 replay timestamp handling
This commit is contained in:
@@ -443,7 +443,7 @@ void Ekf2Replay::setEstimatorInput(uint8_t *data, uint8_t type)
|
|||||||
uint8_t *dest_ptr = (uint8_t *)&replay_part5.time_ev_usec;
|
uint8_t *dest_ptr = (uint8_t *)&replay_part5.time_ev_usec;
|
||||||
parseMessage(data, dest_ptr, type);
|
parseMessage(data, dest_ptr, type);
|
||||||
_ev.timestamp = replay_part5.time_ev_usec;
|
_ev.timestamp = replay_part5.time_ev_usec;
|
||||||
_ev.timestamp_computer = replay_part5.time_ev_usec; // fake this timestamp
|
_ev.timestamp_received = replay_part5.time_ev_usec; // fake this timestamp
|
||||||
_ev.x = replay_part5.x;
|
_ev.x = replay_part5.x;
|
||||||
_ev.y = replay_part5.y;
|
_ev.y = replay_part5.y;
|
||||||
_ev.z = replay_part5.z;
|
_ev.z = replay_part5.z;
|
||||||
|
|||||||
Reference in New Issue
Block a user