From 7419151314e7667d76a82565d3fd1c40bf416d2a Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 12 Jul 2016 22:17:22 +0200 Subject: [PATCH] Update EKF2 replay timestamp handling --- src/modules/ekf2_replay/ekf2_replay_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2_replay/ekf2_replay_main.cpp b/src/modules/ekf2_replay/ekf2_replay_main.cpp index 4c30fe350d..e175662b04 100644 --- a/src/modules/ekf2_replay/ekf2_replay_main.cpp +++ b/src/modules/ekf2_replay/ekf2_replay_main.cpp @@ -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;