aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_status.h
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-26 11:50:34 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-26 11:50:34 +0100
commitc7f05539382a48d7ecaad3bfdf71261cde2ee8c7 (patch)
tree1cdd3b307dba1bb0c0626c18365ed84f7cd832cd /src/modules/uORB/topics/vehicle_status.h
parent062b64a1e21406cf787d93aa53921ce0ef6627fd (diff)
downloadpx4-firmware-c7f05539382a48d7ecaad3bfdf71261cde2ee8c7.tar.gz
px4-firmware-c7f05539382a48d7ecaad3bfdf71261cde2ee8c7.tar.bz2
px4-firmware-c7f05539382a48d7ecaad3bfdf71261cde2ee8c7.zip
cammander: state machine can now deny current state (e.g. when position lock lost during EASY mode), added FAILSAFE_STATE_LAND
Diffstat (limited to 'src/modules/uORB/topics/vehicle_status.h')
-rw-r--r--src/modules/uORB/topics/vehicle_status.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/uORB/topics/vehicle_status.h b/src/modules/uORB/topics/vehicle_status.h
index 73102090f..a5988d3ba 100644
--- a/src/modules/uORB/topics/vehicle_status.h
+++ b/src/modules/uORB/topics/vehicle_status.h
@@ -84,9 +84,10 @@ typedef enum {
} hil_state_t;
typedef enum {
- FAILSAFE_STATE_NORMAL = 0,
- FAILSAFE_STATE_RTL,
- FAILSAFE_STATE_TERMINATION,
+ FAILSAFE_STATE_NORMAL = 0, /**< Normal operation */
+ FAILSAFE_STATE_RTL, /**< Return To Launch */
+ FAILSAFE_STATE_LAND, /**< Land without position control */
+ FAILSAFE_STATE_TERMINATION, /**< Disable motors and use parachute, can't be recovered */
FAILSAFE_STATE_MAX
} failsafe_state_t;