aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/position_setpoint_triplet.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-08-25 09:19:36 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-08-25 09:19:36 +0200
commit55fde23233de3d311d6c8d0b2cd368e45af3caac (patch)
treead4bc02208c430cd67dd5407406ae515d4686dbe /src/modules/uORB/topics/position_setpoint_triplet.h
parent9be755ec61733142c86e3713b7845ea9ad929538 (diff)
downloadpx4-firmware-55fde23233de3d311d6c8d0b2cd368e45af3caac.tar.gz
px4-firmware-55fde23233de3d311d6c8d0b2cd368e45af3caac.tar.bz2
px4-firmware-55fde23233de3d311d6c8d0b2cd368e45af3caac.zip
support new yaw and yawrate fields in mavlnk position_target message
Diffstat (limited to 'src/modules/uORB/topics/position_setpoint_triplet.h')
-rw-r--r--src/modules/uORB/topics/position_setpoint_triplet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/position_setpoint_triplet.h b/src/modules/uORB/topics/position_setpoint_triplet.h
index 3ea3f671e..cb2262534 100644
--- a/src/modules/uORB/topics/position_setpoint_triplet.h
+++ b/src/modules/uORB/topics/position_setpoint_triplet.h
@@ -79,7 +79,9 @@ struct position_setpoint_s
double lon; /**< longitude, in deg */
float alt; /**< altitude AMSL, in m */
float yaw; /**< yaw (only for multirotors), in rad [-PI..PI), NaN = hold current yaw */
+ bool yaw_valid; /**< true if yaw setpoint valid */
float yawspeed; /**< yawspeed (only for multirotors, in rad/s) */
+ bool yawspeed_valid; /**< true if yawspeed setpoint valid */
float loiter_radius; /**< loiter radius (only for fixed wing), in m */
int8_t loiter_direction; /**< loiter direction: 1 = CW, -1 = CCW */
float pitch_min; /**< minimal pitch angle for fixed wing takeoff waypoints */