forked from Archive/PX4-Autopilot
Formatting.
This commit is contained in:
parent
08f5ece306
commit
6ac79aa55f
|
@ -80,6 +80,7 @@ void BlockLocalPositionEstimator::baroCorrect()
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -180,6 +180,7 @@ void BlockLocalPositionEstimator::gpsCorrect()
|
|||
double(r(0)*r(0) / S_I(0, 0)), double(r(1)*r(1) / S_I(1, 1)), double(r(2)*r(2) / S_I(2, 2)),
|
||||
double(r(3)*r(3) / S_I(3, 3)), double(r(4)*r(4) / S_I(4, 4)), double(r(5)*r(5) / S_I(5, 5)));
|
||||
}
|
||||
|
||||
_gpsFault = FAULT_MINOR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue