mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 12:23:33 +08:00
Remove on arming reset, be less verbose in normal conditions output
This commit is contained in:
committed by
James Goppert
parent
699b6a2cb3
commit
08f5ece306
@@ -76,8 +76,10 @@ void BlockLocalPositionEstimator::baroCorrect()
|
||||
|
||||
if (beta > BETA_TABLE[n_y_baro]) {
|
||||
if (_baroFault < FAULT_MINOR) {
|
||||
mavlink_and_console_log_info(&mavlink_log_pub, "[lpe] baro fault, r %5.2f m, beta %5.2f",
|
||||
if (beta > 2.0f * BETA_TABLE[n_y_baro]) {
|
||||
mavlink_and_console_log_critical(&mavlink_log_pub, "[lpe] baro fault, r %5.2f m, beta %5.2f",
|
||||
double(r(0)), double(beta));
|
||||
}
|
||||
_baroFault = FAULT_MINOR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user