aboutsummaryrefslogtreecommitdiff
path: root/apps/commander/state_machine_helper.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-08-27 17:24:17 +0200
committerLorenz Meier <lm@inf.ethz.ch>2012-08-27 17:24:17 +0200
commitb090298b121d8a5dfa02cb06b2ab27ecc3fa0545 (patch)
treec4287180ae44e906c1426598d051facb13229d42 /apps/commander/state_machine_helper.c
parent97d9e67e67014a1eb2dccd08f35906e5ba1a5f84 (diff)
downloadpx4-firmware-b090298b121d8a5dfa02cb06b2ab27ecc3fa0545.tar.gz
px4-firmware-b090298b121d8a5dfa02cb06b2ab27ecc3fa0545.tar.bz2
px4-firmware-b090298b121d8a5dfa02cb06b2ab27ecc3fa0545.zip
Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before.
Diffstat (limited to 'apps/commander/state_machine_helper.c')
-rw-r--r--apps/commander/state_machine_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/commander/state_machine_helper.c b/apps/commander/state_machine_helper.c
index 3209ee728..8abf427f7 100644
--- a/apps/commander/state_machine_helper.c
+++ b/apps/commander/state_machine_helper.c
@@ -522,7 +522,7 @@ void update_state_machine_mode_auto(int status_pub, struct vehicle_status_s *cur
uint8_t update_state_machine_mode_request(int status_pub, struct vehicle_status_s *current_status, const int mavlink_fd, uint8_t mode)
{
- printf("in update state request\n");
+ printf("[commander] Requested new mode: %d\n", (int)mode);
uint8_t ret = 1;
/* vehicle is disarmed, mode requests arming */