From 61023fc636d01e4d5c1f6cb551f78088199ad795 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Fri, 17 Feb 2017 15:08:55 -0700 Subject: [PATCH] NavEKF: Add GPS vertical accuracy to nav_gps_flags --- libraries/AP_NavEKF/AP_Nav_Common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_NavEKF/AP_Nav_Common.h b/libraries/AP_NavEKF/AP_Nav_Common.h index 7da45aa9e9..17838eb649 100644 --- a/libraries/AP_NavEKF/AP_Nav_Common.h +++ b/libraries/AP_NavEKF/AP_Nav_Common.h @@ -49,6 +49,7 @@ union nav_gps_status { uint16_t bad_vert_vel : 1; // 7 - true if the GPS vertical speed is too large to start using GPS (this check assumes vehicle is static) uint16_t bad_fix : 1; // 8 - true if the GPS is not providing a 3D fix uint16_t bad_horiz_vel : 1; // 9 - true if the GPS horizontal speed is excessive (this check assumes the vehicle is static) + uint16_t bad_vAcc : 1; // 10 - true if reported gps vertical position accuracy is insufficient to start using GPS } flags; uint16_t value; };