mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 16:57:35 +08:00
EKF: Improve ground effect compensation
Start deadline at zero so that initial rotor wash effect is rejected.
This commit is contained in:
committed by
Lorenz Meier
parent
39697f1196
commit
8a713398cb
@@ -107,7 +107,7 @@ void Ekf::fuseVelPosHeight()
|
|||||||
|
|
||||||
// Compensate for positive static pressure transients (negative vertical position innovations)
|
// Compensate for positive static pressure transients (negative vertical position innovations)
|
||||||
// casued by rotor wash ground interaction by applying a temporary deadzone to baro 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;
|
float deadzone_end = deadzone_start + _params.gnd_effect_deadzone;
|
||||||
|
|
||||||
if (_control_status.flags.gnd_effect) {
|
if (_control_status.flags.gnd_effect) {
|
||||||
|
|||||||
Reference in New Issue
Block a user