diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-29 14:39:36 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-29 14:39:36 +0100 |
commit | 591b355981c781f6d30a6697b690225031792cfc (patch) | |
tree | 653460dfab45c88696004ed243fdb992a10160ab /src/modules/uORB/topics | |
parent | 48cec50dd30cd2b3163aedbeb11ae52866e2601b (diff) | |
download | px4-firmware-591b355981c781f6d30a6697b690225031792cfc.tar.gz px4-firmware-591b355981c781f6d30a6697b690225031792cfc.tar.bz2 px4-firmware-591b355981c781f6d30a6697b690225031792cfc.zip |
setpoint type IDLE added (for AUTO_READY state), LAND mode fixed
Diffstat (limited to 'src/modules/uORB/topics')
-rw-r--r-- | src/modules/uORB/topics/position_setpoint_triplet.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/uORB/topics/position_setpoint_triplet.h b/src/modules/uORB/topics/position_setpoint_triplet.h index e8d68281a..cf1ddfc38 100644 --- a/src/modules/uORB/topics/position_setpoint_triplet.h +++ b/src/modules/uORB/topics/position_setpoint_triplet.h @@ -54,10 +54,11 @@ enum SETPOINT_TYPE { - SETPOINT_TYPE_NORMAL = 0, - SETPOINT_TYPE_LOITER, - SETPOINT_TYPE_TAKEOFF, - SETPOINT_TYPE_LAND, + SETPOINT_TYPE_NORMAL = 0, /**< normal setpoint */ + SETPOINT_TYPE_LOITER, /**< loiter setpoint */ + SETPOINT_TYPE_TAKEOFF, /**< takeoff setpoint */ + SETPOINT_TYPE_LAND, /**< land setpoint, altitude must be ignored, vehicle must descend until landing */ + SETPOINT_TYPE_IDLE, /**< do nothing, switch off motors or keep at idle speed (MC) */ }; struct position_setpoint_s |