diff options
author | Julian Oes <joes@student.ethz.ch> | 2013-02-21 13:06:56 -0800 |
---|---|---|
committer | Julian Oes <joes@student.ethz.ch> | 2013-02-21 13:06:56 -0800 |
commit | ebe0285ce7964ac1a81a65bae417e978cf366466 (patch) | |
tree | 4ed1344991cee2e50906df7023c4440378d23b65 /apps/commander/state_machine_helper.h | |
parent | 0e29f2505a599d473244b0bb7e4b309d392ebb3c (diff) | |
download | px4-firmware-ebe0285ce7964ac1a81a65bae417e978cf366466.tar.gz px4-firmware-ebe0285ce7964ac1a81a65bae417e978cf366466.tar.bz2 px4-firmware-ebe0285ce7964ac1a81a65bae417e978cf366466.zip |
Checkpoint: navigation state machine as discussed with Lorenz
Diffstat (limited to 'apps/commander/state_machine_helper.h')
-rw-r--r-- | apps/commander/state_machine_helper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/commander/state_machine_helper.h b/apps/commander/state_machine_helper.h index 57b3db8f1..1c0564d07 100644 --- a/apps/commander/state_machine_helper.h +++ b/apps/commander/state_machine_helper.h @@ -47,10 +47,11 @@ #include <uORB/uORB.h> #include <uORB/topics/vehicle_status.h> -int navigation_state_update(int status_pub, struct vehicle_status_s *current_status, const int mavlink_fd, navigation_state_t new_state); +void navigation_state_update(int status_pub, struct vehicle_status_s *current_status, const int mavlink_fd); //int do_arming_state_update(int status_pub, struct vehicle_status_s *current_status, const int mavlink_fd, arming_state_t new_state); void state_machine_publish(int status_pub, struct vehicle_status_s *current_status, const int mavlink_fd); +int check_navigation_state_transition(navigation_state_t current_navigation_state, navigation_state_t new_navigation_state); #endif /* STATE_MACHINE_HELPER_H_ */ |