diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-12-29 12:16:49 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-12-29 12:16:49 +0400 |
commit | 7e29028429fce33b88dd1eeb6d3ac89aa5cb5891 (patch) | |
tree | d230c7392fa457227c35dc4e80720e3d5ac44d32 /src/modules/sdlog2 | |
parent | 72d9c80ce954d2289282f5df01aef7e5e8914acc (diff) | |
download | px4-firmware-7e29028429fce33b88dd1eeb6d3ac89aa5cb5891.tar.gz px4-firmware-7e29028429fce33b88dd1eeb6d3ac89aa5cb5891.tar.bz2 px4-firmware-7e29028429fce33b88dd1eeb6d3ac89aa5cb5891.zip |
Moving nav state from commander to navigator, WIP
Diffstat (limited to 'src/modules/sdlog2')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 9f634d9e4..78322aff3 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -969,7 +969,8 @@ int sdlog2_thread_main(int argc, char *argv[]) // Don't orb_copy, it's already done few lines above log_msg.msg_type = LOG_STAT_MSG; log_msg.body.log_STAT.main_state = (uint8_t) buf_status.main_state; - log_msg.body.log_STAT.navigation_state = (uint8_t) buf_status.navigation_state; + // TODO use control_mode topic + //log_msg.body.log_STAT.navigation_state = (uint8_t) buf_status.navigation_state; log_msg.body.log_STAT.arming_state = (uint8_t) buf_status.arming_state; log_msg.body.log_STAT.battery_voltage = buf_status.battery_voltage; log_msg.body.log_STAT.battery_current = buf_status.battery_current; |