mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 16:03:34 +08:00
ekf2: selector treat combined test ratio > 1 as a warning
* ekf2: selector treat combined test ratio > 1 as a warning * ekf2: wait for 1s of constant warning to trigger an instance switch Co-authored-by: bresch <brescianimathieu@gmail.com>
This commit is contained in:
@@ -125,11 +125,13 @@ private:
|
||||
uint32_t mag_device_id{0};
|
||||
|
||||
hrt_abstime time_last_selected{0};
|
||||
hrt_abstime time_last_no_warning{0};
|
||||
|
||||
float combined_test_ratio{NAN};
|
||||
float relative_test_ratio{NAN};
|
||||
|
||||
bool healthy{false};
|
||||
bool warning{false};
|
||||
bool filter_fault{false};
|
||||
bool timeout{false};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user