mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
EstimatorCheck: fix reporting of low position accuracy failsafe
Signed-off-by: Silvan <silvan@auterion.com>
This commit is contained in:
parent
8669947bcb
commit
db8a1f11a7
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user