diff options
author | Julian Oes <julian@oes.ch> | 2014-06-18 19:01:41 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-18 19:01:41 +0200 |
commit | e24925c743330bc3c6c0a24ba913a9c5fab5e07d (patch) | |
tree | c8ad98fc0caba4a061651c50eba120575cb8bba5 /src/modules/commander/state_machine_helper.h | |
parent | 55e5f747de013fb386727b41cc67bd019c129c31 (diff) | |
download | px4-firmware-e24925c743330bc3c6c0a24ba913a9c5fab5e07d.tar.gz px4-firmware-e24925c743330bc3c6c0a24ba913a9c5fab5e07d.tar.bz2 px4-firmware-e24925c743330bc3c6c0a24ba913a9c5fab5e07d.zip |
commander: added some failsafe logic
Diffstat (limited to 'src/modules/commander/state_machine_helper.h')
-rw-r--r-- | src/modules/commander/state_machine_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/state_machine_helper.h b/src/modules/commander/state_machine_helper.h index cffbc9b8f..2e076cdae 100644 --- a/src/modules/commander/state_machine_helper.h +++ b/src/modules/commander/state_machine_helper.h @@ -65,6 +65,6 @@ transition_result_t main_state_transition(struct vehicle_status_s *current_state transition_result_t hil_state_transition(hil_state_t new_state, int status_pub, struct vehicle_status_s *current_state, const int mavlink_fd); -bool set_nav_state(struct vehicle_status_s *status); +bool set_nav_state(struct vehicle_status_s *status, const bool data_link_loss_enabled, const bool mission_finished); #endif /* STATE_MACHINE_HELPER_H_ */ |