mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 10:07:36 +08:00
ekf2: rename BaroBiasEstimator -> BiasEstimator
This commit is contained in:
@@ -680,7 +680,7 @@ void EKF2::PublishAttitude(const hrt_abstime ×tamp)
|
||||
void EKF2::PublishBaroBias(const hrt_abstime ×tamp)
|
||||
{
|
||||
if (_device_id_baro != 0) {
|
||||
const BaroBiasEstimator::status &status = _ekf.getBaroBiasEstimatorStatus();
|
||||
const BiasEstimator::status &status = _ekf.getBaroBiasEstimatorStatus();
|
||||
|
||||
if (fabsf(status.bias - _last_baro_bias_published) > 0.001f) {
|
||||
estimator_baro_bias_s baro_bias{};
|
||||
|
||||
Reference in New Issue
Block a user