aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_global_position.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-09-01 10:38:40 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-09-01 10:38:40 +0200
commit0f548ab88cb36be362d14f9e9e76c53e3764e3c9 (patch)
tree9708532c8a8efb21433aeafa99a04a537307df64 /src/modules/uORB/topics/vehicle_global_position.h
parent9f94e4ac8409dc15484ee3bcfb89958890a305e6 (diff)
downloadpx4-firmware-0f548ab88cb36be362d14f9e9e76c53e3764e3c9.tar.gz
px4-firmware-0f548ab88cb36be362d14f9e9e76c53e3764e3c9.tar.bz2
px4-firmware-0f548ab88cb36be362d14f9e9e76c53e3764e3c9.zip
add global pos valid flag
Diffstat (limited to 'src/modules/uORB/topics/vehicle_global_position.h')
-rw-r--r--src/modules/uORB/topics/vehicle_global_position.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_global_position.h b/src/modules/uORB/topics/vehicle_global_position.h
index 6cbe25fbd..c3bb3b893 100644
--- a/src/modules/uORB/topics/vehicle_global_position.h
+++ b/src/modules/uORB/topics/vehicle_global_position.h
@@ -73,6 +73,7 @@ struct vehicle_global_position_s {
float eph; /**< Standard deviation of position estimate horizontally */
float epv; /**< Standard deviation of position vertically */
float terrain_alt; /**< Terrain altitude in m, WGS84 */
+ bool terrain_alt_valid; /**< Terrain altitude estimate is valid */
};
/**