diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-10-07 22:16:57 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-10-07 22:16:57 +0200 |
commit | 3fd20481888fd9e63806f988153abe4bf82e7a04 (patch) | |
tree | f280e72dd2550dbd518ffb006f3f01675bc378cc /src/modules/commander/state_machine_helper.cpp | |
parent | 55f7c561efde3af1fcf562f71391a94711480988 (diff) | |
download | px4-firmware-3fd20481888fd9e63806f988153abe4bf82e7a04.tar.gz px4-firmware-3fd20481888fd9e63806f988153abe4bf82e7a04.tar.bz2 px4-firmware-3fd20481888fd9e63806f988153abe4bf82e7a04.zip |
commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics
Diffstat (limited to 'src/modules/commander/state_machine_helper.cpp')
-rw-r--r-- | src/modules/commander/state_machine_helper.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 8ce31550f..e4d235a6b 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -497,7 +497,6 @@ int hil_state_transition(hil_state_t new_state, int status_pub, struct vehicle_s if (valid_transition) { current_status->hil_state = new_state; - current_status->counter++; current_status->timestamp = hrt_absolute_time(); orb_publish(ORB_ID(vehicle_status), status_pub, current_status); |