mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +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:
parent
a69e0c6efc
commit
f161a32c55
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user