AP_Notify: added have_pos_abs flag

used to notify of high-quality GPS lock
This commit is contained in:
Andrew Tridgell 2017-06-27 11:27:06 +10:00
parent ac324a3760
commit b622fe143e

View File

@ -80,6 +80,7 @@ public:
float battery_voltage ; // battery voltage
uint32_t gps_fusion : 1; // 0 = GPS fix rejected by EKF, not usable for flight. 1 = GPS in use by EKF, usable for flight
uint32_t gps_glitching : 1; // 1 if gps is glitching
uint32_t have_pos_abs : 1; // 0 = no absolute position available, 1 = absolute position available
// additional flags
uint32_t external_leds : 1; // 1 if external LEDs are enabled (normally only used for copter)