mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 04:33:34 +08:00
ekf2: revert minor baro ctrl check change from 078e4c9 (ekf: always publish baro and gnss bias even if zero (#25385))
This commit is contained in:
@@ -45,11 +45,6 @@ void Ekf::controlBaroHeightFusion(const imuSample &imu_sample)
|
||||
auto &aid_src = _aid_src_baro_hgt;
|
||||
HeightBiasEstimator &bias_est = _baro_b_est;
|
||||
|
||||
if (_params.ekf2_baro_ctrl == 0) {
|
||||
stopBaroHgtFusion();
|
||||
return;
|
||||
}
|
||||
|
||||
bias_est.predict(_dt_ekf_avg);
|
||||
|
||||
baroSample baro_sample;
|
||||
|
||||
Reference in New Issue
Block a user