Skip to content

Commit f161a32

Browse files
committed
ekf2: revert minor baro ctrl check change from 078e4c9 (ekf: always publish baro and gnss bias even if zero (#25385))
1 parent a69e0c6 commit f161a32

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/modules/ekf2/EKF/aid_sources/barometer/baro_height_control.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ void Ekf::controlBaroHeightFusion(const imuSample &imu_sample)
4545
auto &aid_src = _aid_src_baro_hgt;
4646
HeightBiasEstimator &bias_est = _baro_b_est;
4747

48-
if (_params.ekf2_baro_ctrl == 0) {
49-
stopBaroHgtFusion();
50-
return;
51-
}
52-
5348
bias_est.predict(_dt_ekf_avg);
5449

5550
baroSample baro_sample;

0 commit comments

Comments
 (0)