aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-04-01 16:21:04 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-04-01 16:21:04 +0200
commitf6665ed3c6c4475afc8ca16f4c7ae4be5082d6fa (patch)
tree129c0902dfeda6cd0b7669118be0dfd39c795c50
parent971e1241c899409b7e3628c69373e6d41425c37b (diff)
parent0ed4dd6577dc842ef151afd7751bd61744e2c77f (diff)
downloadpx4-firmware-f6665ed3c6c4475afc8ca16f4c7ae4be5082d6fa.tar.gz
px4-firmware-f6665ed3c6c4475afc8ca16f4c7ae4be5082d6fa.tar.bz2
px4-firmware-f6665ed3c6c4475afc8ca16f4c7ae4be5082d6fa.zip
Merge pull request #787 from PX4/estimator_fix
Fixed log format
-rw-r--r--src/modules/sdlog2/sdlog2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c
index 3f07eea53..13981ac54 100644
--- a/src/modules/sdlog2/sdlog2.c
+++ b/src/modules/sdlog2/sdlog2.c
@@ -1258,7 +1258,7 @@ int sdlog2_thread_main(int argc, char *argv[])
log_msg.body.log_ESTM.states_nan = buf.estimator_status.states_nan;
log_msg.body.log_ESTM.covariance_nan = buf.estimator_status.covariance_nan;
log_msg.body.log_ESTM.kalman_gain_nan = buf.estimator_status.kalman_gain_nan;
- LOGBUFFER_WRITE_AND_COUNT(DIST);
+ LOGBUFFER_WRITE_AND_COUNT(ESTM);
}
/* signal the other thread new data, but not yet unlock */