44 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_GPS_FIX 0 45 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MIN_SAT_COUNT 1 46 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MIN_PDOP 2 47 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_HORZ_ERR 3 48 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_VERT_ERR 4 49 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_SPD_ERR 5 50 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_HORZ_DRIFT 6 51 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_VERT_DRIFT 7 52 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_HORZ_SPD_ERR 8 53 #define ESTIMATOR_STATUS_GPS_CHECK_FAIL_MAX_VERT_SPD_ERR 9 54 #define ESTIMATOR_STATUS_CS_TILT_ALIGN 0 55 #define ESTIMATOR_STATUS_CS_YAW_ALIGN 1 56 #define ESTIMATOR_STATUS_CS_GPS 2 57 #define ESTIMATOR_STATUS_CS_OPT_FLOW 3 58 #define ESTIMATOR_STATUS_CS_MAG_HDG 4 59 #define ESTIMATOR_STATUS_CS_MAG_3D 5 60 #define ESTIMATOR_STATUS_CS_MAG_DEC 6 61 #define ESTIMATOR_STATUS_CS_IN_AIR 7 62 #define ESTIMATOR_STATUS_CS_WIND 8 63 #define ESTIMATOR_STATUS_CS_BARO_HGT 9 64 #define ESTIMATOR_STATUS_CS_RNG_HGT 10 65 #define ESTIMATOR_STATUS_CS_GPS_HGT 11 66 #define ESTIMATOR_STATUS_CS_EV_POS 12 67 #define ESTIMATOR_STATUS_CS_EV_YAW 13 68 #define ESTIMATOR_STATUS_CS_EV_HGT 14 69 #define ESTIMATOR_STATUS_CS_BETA 15 70 #define ESTIMATOR_STATUS_CS_MAG_FIELD 16 71 #define ESTIMATOR_STATUS_CS_FIXED_WING 17 72 #define ESTIMATOR_STATUS_CS_MAG_FAULT 18 73 #define ESTIMATOR_STATUS_CS_ASPD 19 74 #define ESTIMATOR_STATUS_CS_GND_EFFECT 20 75 #define ESTIMATOR_STATUS_CS_RNG_STUCK 21 76 #define ESTIMATOR_STATUS_CS_GPS_YAW 22 77 #define ESTIMATOR_STATUS_CS_MAG_ALIGNED 23 90 float covariances[24];
117 static constexpr uint8_t GPS_CHECK_FAIL_GPS_FIX = 0;
118 static constexpr uint8_t GPS_CHECK_FAIL_MIN_SAT_COUNT = 1;
119 static constexpr uint8_t GPS_CHECK_FAIL_MIN_PDOP = 2;
120 static constexpr uint8_t GPS_CHECK_FAIL_MAX_HORZ_ERR = 3;
121 static constexpr uint8_t GPS_CHECK_FAIL_MAX_VERT_ERR = 4;
122 static constexpr uint8_t GPS_CHECK_FAIL_MAX_SPD_ERR = 5;
123 static constexpr uint8_t GPS_CHECK_FAIL_MAX_HORZ_DRIFT = 6;
124 static constexpr uint8_t GPS_CHECK_FAIL_MAX_VERT_DRIFT = 7;
125 static constexpr uint8_t GPS_CHECK_FAIL_MAX_HORZ_SPD_ERR = 8;
126 static constexpr uint8_t GPS_CHECK_FAIL_MAX_VERT_SPD_ERR = 9;
127 static constexpr uint8_t CS_TILT_ALIGN = 0;
128 static constexpr uint8_t CS_YAW_ALIGN = 1;
129 static constexpr uint8_t CS_GPS = 2;
130 static constexpr uint8_t CS_OPT_FLOW = 3;
131 static constexpr uint8_t CS_MAG_HDG = 4;
132 static constexpr uint8_t CS_MAG_3D = 5;
133 static constexpr uint8_t CS_MAG_DEC = 6;
134 static constexpr uint8_t CS_IN_AIR = 7;
135 static constexpr uint8_t CS_WIND = 8;
136 static constexpr uint8_t CS_BARO_HGT = 9;
137 static constexpr uint8_t CS_RNG_HGT = 10;
138 static constexpr uint8_t CS_GPS_HGT = 11;
139 static constexpr uint8_t CS_EV_POS = 12;
140 static constexpr uint8_t CS_EV_YAW = 13;
141 static constexpr uint8_t CS_EV_HGT = 14;
142 static constexpr uint8_t CS_BETA = 15;
143 static constexpr uint8_t CS_MAG_FIELD = 16;
144 static constexpr uint8_t CS_FIXED_WING = 17;
145 static constexpr uint8_t CS_MAG_FAULT = 18;
146 static constexpr uint8_t CS_ASPD = 19;
147 static constexpr uint8_t CS_GND_EFFECT = 20;
148 static constexpr uint8_t CS_RNG_STUCK = 21;
149 static constexpr uint8_t CS_GPS_YAW = 22;
150 static constexpr uint8_t CS_MAG_ALIGNED = 23;
uint32_t control_mode_flags
API for the uORB lightweight object broker.
bool pre_flt_fail_innov_vel_horiz
uint16_t filter_fault_flags
ORB_DECLARE(estimator_status)
bool pre_flt_fail_innov_vel_vert
bool pre_flt_fail_innov_heading
uint16_t solution_status_flags
bool pre_flt_fail_mag_field_disturbed
uint16_t gps_check_fail_flags
bool pre_flt_fail_innov_height
uint16_t innovation_check_flags