Update EKF2 replay timestamp handling

This commit is contained in:
Lorenz Meier 2016-07-12 22:17:22 +02:00
parent 0576031a81
commit 7419151314
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ void Ekf2Replay::setEstimatorInput(uint8_t *data, uint8_t type)
uint8_t *dest_ptr = (uint8_t *)&replay_part5.time_ev_usec;
parseMessage(data, dest_ptr, type);
_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.y = replay_part5.y;
_ev.z = replay_part5.z;