mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 20:13:35 +08:00
EKF: Use correct height gate when using external vision
This commit is contained in:
@@ -159,7 +159,7 @@ void Ekf::fuseVelPosHeight()
|
||||
R[5] = fmaxf(_ev_sample_delayed.posErr, 0.01f);
|
||||
R[5] = R[5] * R[5];
|
||||
// innovation gate size
|
||||
gate_size[5] = fmaxf(_params.baro_innov_gate, 1.0f);
|
||||
gate_size[5] = fmaxf(_params.ev_innov_gate, 1.0f);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user