ekf: add range finder "faulty" status

When delclared faulty, the range finder cannot be used anymore
This commit is contained in:
bresch
2022-02-11 10:57:45 -05:00
committed by Daniel Agar
parent a3b2550f07
commit 5818974f0f
6 changed files with 8 additions and 1 deletions
+1
View File
@@ -490,6 +490,7 @@ union filter_control_status_u {
uint32_t synthetic_mag_z : 1; ///< 25 - true when we are using a synthesized measurement for the magnetometer Z component
uint32_t vehicle_at_rest : 1; ///< 26 - true when the vehicle is at rest
uint32_t gps_yaw_fault : 1; ///< 27 - true when the GNSS heading has been declared faulty and is no longer being used
uint32_t rng_fault : 1; ///< 28 - true when the range finder has been declared faulty and is no longer being used
} flags;
uint32_t value;
};