Skip to content

Commit

Permalink
ekf2_replay: Add missing log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
priseborough authored and LorenzMeier committed Nov 19, 2016
1 parent 2799c0f commit 06aca33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/ekf2_replay/ekf2_replay_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,10 @@ void Ekf2Replay::logIfUpdated()
est_status.covariances) : sizeof(log_message.body.est2.cov);
memset(&(log_message.body.est2.cov), 0, sizeof(log_message.body.est2.cov));
memcpy(&(log_message.body.est2.cov), est_status.covariances, maxcopy2);
log_message.body.est2.gps_check_fail_flags = est_status.gps_check_fail_flags;
log_message.body.est2.control_mode_flags = est_status.control_mode_flags;
log_message.body.est2.health_flags = est_status.health_flags;
log_message.body.est2.innov_test_flags = est_status.innovation_check_flags;
writeMessage(_write_fd, (void *)&log_message.head1, _formats[LOG_EST2_MSG].length);

log_message.type = LOG_EST3_MSG;
Expand Down

0 comments on commit 06aca33

Please sign in to comment.