From 4bac26171b77fd04d60c75e8dc6515e4c5de4d94 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sun, 22 Sep 2013 22:18:34 +0900 Subject: [PATCH] AP_Notify: add gps_glitch flag --- libraries/AP_Notify/AP_Notify.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Notify/AP_Notify.h b/libraries/AP_Notify/AP_Notify.h index a8864a83db..d195b1a04c 100644 --- a/libraries/AP_Notify/AP_Notify.h +++ b/libraries/AP_Notify/AP_Notify.h @@ -32,12 +32,14 @@ public: struct notify_type { uint16_t initialising : 1; // 1 if initialising and copter should not be moved uint16_t gps_status : 2; // 0 = no gps, 1 = no lock, 2 = 2d lock, 3 = 3d lock + uint16_t gps_glitching : 1; // 1 if gps position is not good uint16_t armed : 1; // 0 = disarmed, 1 = armed uint16_t pre_arm_check : 1; // 0 = failing checks, 1 = passed uint16_t save_trim : 1; // 1 if gathering trim data uint16_t esc_calibration : 1; // 1 if calibrating escs uint16_t failsafe_radio : 1; // 1 if radio failsafe uint16_t failsafe_battery : 1; // 1 if battery failsafe + uint16_t failsafe_gps : 1; // 1 if gps failsafe }; // the notify flags are static to allow direct class access