aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-29 14:39:36 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-29 14:39:36 +0100
commit591b355981c781f6d30a6697b690225031792cfc (patch)
tree653460dfab45c88696004ed243fdb992a10160ab /src/modules/uORB
parent48cec50dd30cd2b3163aedbeb11ae52866e2601b (diff)
downloadpx4-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')
-rw-r--r--src/modules/uORB/topics/position_setpoint_triplet.h9
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