aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_local_position.h
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2013-08-26 09:12:17 +0200
committerAnton Babushkin <anton.babushkin@me.com>2013-08-26 09:12:17 +0200
commitc5731bbc3f29361f3d50ecc54d44a521d2441a48 (patch)
tree9820a5cf54f4096f54250d484248a1f53a66a8cb /src/modules/uORB/topics/vehicle_local_position.h
parent25379771012761cd331e26eedd6a7ac649e04f5f (diff)
downloadpx4-firmware-c5731bbc3f29361f3d50ecc54d44a521d2441a48.tar.gz
px4-firmware-c5731bbc3f29361f3d50ecc54d44a521d2441a48.tar.bz2
px4-firmware-c5731bbc3f29361f3d50ecc54d44a521d2441a48.zip
TAKEOFF implemented for multirotors, added altitude check to waypoint navigation.
Diffstat (limited to 'src/modules/uORB/topics/vehicle_local_position.h')
-rw-r--r--src/modules/uORB/topics/vehicle_local_position.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_local_position.h b/src/modules/uORB/topics/vehicle_local_position.h
index 26e8f335b..31a0e632b 100644
--- a/src/modules/uORB/topics/vehicle_local_position.h
+++ b/src/modules/uORB/topics/vehicle_local_position.h
@@ -67,6 +67,8 @@ struct vehicle_local_position_s
float vx; /**< Ground X Speed (Latitude), m/s in NED */
float vy; /**< Ground Y Speed (Longitude), m/s in NED */
float vz; /**< Ground Z Speed (Altitude), m/s in NED */
+ /* Heading */
+ float yaw;
/* Reference position in GPS / WGS84 frame */
bool global_xy; /**< true if position (x, y) is valid and has valid global reference (ref_lat, ref_lon) */
bool global_z; /**< true if z is valid and has valid global reference (ref_alt) */