added airspeed to ekf2 replay

This commit is contained in:
CarlOlsson
2016-05-12 14:43:14 +02:00
committed by Lorenz Meier
parent 6a07d61671
commit ee33f21303
3 changed files with 36 additions and 3 deletions
+1 -1
View File
@@ -1590,7 +1590,7 @@ int sdlog2_thread_main(int argc, char *argv[])
if (buf.replay.asp_timestamp > 0) {
log_msg.msg_type = LOG_RPL6_MSG;
log_msg.body.log_RPL6.timestamp = buf.replay.asp_timestamp;
log_msg.body.log_RPL6.time_airs_usec = buf.replay.asp_timestamp;
log_msg.body.log_RPL6.indicated_airspeed_m_s = buf.replay.indicated_airspeed_m_s;
log_msg.body.log_RPL6.true_airspeed_m_s = buf.replay.true_airspeed_m_s;
log_msg.body.log_RPL6.true_airspeed_unfiltered_m_s = buf.replay.true_airspeed_unfiltered_m_s;
+1 -1
View File
@@ -579,7 +579,7 @@ struct log_RPL4_s {
/* --- EKF2 REPLAY Part 4 --- */
#define LOG_RPL6_MSG 59
struct log_RPL6_s {
uint64_t timestamp;
uint64_t time_airs_usec;
float indicated_airspeed_m_s;
float true_airspeed_m_s;
float true_airspeed_unfiltered_m_s;