mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 16:27:35 +08:00
EstimatorCheck: fix reporting of low position accuracy failsafe
Signed-off-by: Silvan <silvan@auterion.com>
This commit is contained in:
@@ -621,8 +621,7 @@ void EstimatorChecks::lowPositionAccuracy(const Context &context, Report &report
|
||||
position_valid_but_low_accuracy = (_param_com_low_eph.get() > FLT_EPSILON && lpos.eph > _param_com_low_eph.get());
|
||||
}
|
||||
|
||||
if (!reporter.failsafeFlags().position_accuracy_low && position_valid_but_low_accuracy
|
||||
&& _param_com_pos_low_act.get()) {
|
||||
if (position_valid_but_low_accuracy && _param_com_pos_low_act.get()) {
|
||||
|
||||
// only report if armed
|
||||
if (context.isArmed()) {
|
||||
|
||||
Reference in New Issue
Block a user