aboutsummaryrefslogtreecommitdiff
path: root/apps/uORB
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2012-10-31 21:07:01 +0100
committerThomas Gubler <thomasgubler@gmail.com>2012-10-31 21:07:01 +0100
commit904efa8fa87c09a2e7f18f0821431e75eb13e67b (patch)
treee63d4b92a39994f5b396a55a74898221d61e795d /apps/uORB
parentee1e98babb3b46de0c64dbd0c5be3c678fc7c727 (diff)
parent8bfceef89cc1fd2422863a99d99039d18a1301bc (diff)
downloadpx4-firmware-904efa8fa87c09a2e7f18f0821431e75eb13e67b.tar.gz
px4-firmware-904efa8fa87c09a2e7f18f0821431e75eb13e67b.tar.bz2
px4-firmware-904efa8fa87c09a2e7f18f0821431e75eb13e67b.zip
Merge branch 'master' of https://github.com/PX4/Firmware into fw_control
Diffstat (limited to 'apps/uORB')
-rw-r--r--apps/uORB/topics/vehicle_gps_position.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/uORB/topics/vehicle_gps_position.h b/apps/uORB/topics/vehicle_gps_position.h
index 60d01a831..8e55ef148 100644
--- a/apps/uORB/topics/vehicle_gps_position.h
+++ b/apps/uORB/topics/vehicle_gps_position.h
@@ -66,6 +66,9 @@ struct vehicle_gps_position_s
uint16_t eph; /**< GPS HDOP horizontal dilution of position in cm (m*100). If unknown, set to: 65535 //LOGME */
uint16_t epv; /**< GPS VDOP horizontal dilution of position in cm (m*100). If unknown, set to: 65535 */
uint16_t vel; /**< GPS ground speed (m/s * 100). If unknown, set to: 65535 */
+ float vel_n; /**< GPS ground speed in m/s */
+ float vel_e; /**< GPS ground speed in m/s */
+ float vel_d; /**< GPS ground speed in m/s */
uint16_t cog; /**< Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: 65535 */
uint8_t fix_type; /**< 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. */
uint8_t satellites_visible; /**< Number of satellites visible. If unknown, set to 255 */
@@ -77,6 +80,9 @@ struct vehicle_gps_position_s
uint8_t satellite_snr[20]; /**< Signal to noise ratio of satellite */
uint8_t satellite_info_available; /**< 0 for no info, 1 for info available */
+ /* flags */
+ float vel_ned_valid; /**< Flag to indicate if NED speed is valid */
+
};
/**