mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 05:53:34 +08:00
Changed vtaspred threshold
This commit is contained in:
@@ -70,7 +70,7 @@ void Ekf::fuseAirspeed()
|
|||||||
v_tas_pred = sqrtf((ve - vwe) * (ve - vwe) + (vn - vwn) * (vn - vwn) + vd * vd);
|
v_tas_pred = sqrtf((ve - vwe) * (ve - vwe) + (vn - vwn) * (vn - vwn) + vd * vd);
|
||||||
|
|
||||||
// Perform fusion of True Airspeed measurement
|
// Perform fusion of True Airspeed measurement
|
||||||
if (v_tas_pred > 3.0f) {
|
if (v_tas_pred > 1.0f) {
|
||||||
// Calculate the observation jacobian
|
// Calculate the observation jacobian
|
||||||
// intermediate variable from algebraic optimisation
|
// intermediate variable from algebraic optimisation
|
||||||
SH_TAS[0] = 1 / v_tas_pred;
|
SH_TAS[0] = 1 / v_tas_pred;
|
||||||
|
|||||||
Reference in New Issue
Block a user