|
|
|
@ -1590,7 +1590,7 @@ int sdlog2_thread_main(int argc, char *argv[])
@@ -1590,7 +1590,7 @@ int sdlog2_thread_main(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
if (replay_updated) { |
|
|
|
|
log_msg.msg_type = LOG_RPL1_MSG; |
|
|
|
|
log_msg.body.log_RPL1.time_ref = buf.replay.time_ref; |
|
|
|
|
log_msg.body.log_RPL1.time_ref = buf.replay.timestamp; |
|
|
|
|
log_msg.body.log_RPL1.gyro_integral_dt = buf.replay.gyro_integral_dt; |
|
|
|
|
log_msg.body.log_RPL1.accelerometer_integral_dt = buf.replay.accelerometer_integral_dt; |
|
|
|
|
log_msg.body.log_RPL1.magnetometer_timestamp = buf.replay.magnetometer_timestamp; |
|
|
|
@ -1611,7 +1611,7 @@ int sdlog2_thread_main(int argc, char *argv[])
@@ -1611,7 +1611,7 @@ int sdlog2_thread_main(int argc, char *argv[])
|
|
|
|
|
if (buf.replay.time_usec > 0) { |
|
|
|
|
log_msg.msg_type = LOG_RPL2_MSG; |
|
|
|
|
log_msg.body.log_RPL2.time_pos_usec = buf.replay.time_usec; |
|
|
|
|
log_msg.body.log_RPL2.time_vel_usec = buf.replay.time_usec_vel; |
|
|
|
|
log_msg.body.log_RPL2.time_vel_usec = buf.replay.time_usec; |
|
|
|
|
log_msg.body.log_RPL2.lat = buf.replay.lat; |
|
|
|
|
log_msg.body.log_RPL2.lon = buf.replay.lon; |
|
|
|
|
log_msg.body.log_RPL2.alt = buf.replay.alt; |
|
|
|
|