EKF: Improve ground effect compensation

Start deadline at zero so that initial rotor wash effect is rejected.
This commit is contained in:
Paul Riseborough
2018-05-19 07:59:08 +10:00
committed by Lorenz Meier
parent 39697f1196
commit 8a713398cb
+1 -1
View File
@@ -107,7 +107,7 @@ void Ekf::fuseVelPosHeight()
// Compensate for positive static pressure transients (negative vertical position innovations)
// casued by rotor wash ground interaction by applying a temporary deadzone to baro innovations.
float deadzone_start = 0.25f * _params.baro_noise;
float deadzone_start = 0.0f;
float deadzone_end = deadzone_start + _params.gnd_effect_deadzone;
if (_control_status.flags.gnd_effect) {