commander: Notify negative on manual arming fails

This commit is contained in:
Lorenz Meier 2014-06-30 16:58:05 +02:00
parent 77af7a5beb
commit bbdf2bc07a
1 changed files with 1 additions and 0 deletions

View File

@ -1342,6 +1342,7 @@ int commander_thread_main(int argc, char *argv[])
} else if (arming_ret == TRANSITION_DENIED) {
/* DENIED here indicates bug in the commander */
mavlink_log_critical(mavlink_fd, "ERROR: arming state transition denied");
tune_negative(true);
}
/* evaluate the main state machine according to mode switches */