From eee6f1048fbfee155ef3d331d40cb43786729835 Mon Sep 17 00:00:00 2001 From: CarlOlsson Date: Sun, 3 Apr 2016 20:08:51 +0200 Subject: [PATCH] Changed vtaspred threshold --- EKF/airspeed_fusion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EKF/airspeed_fusion.cpp b/EKF/airspeed_fusion.cpp index 18b394a2dc..1d15cd15d9 100644 --- a/EKF/airspeed_fusion.cpp +++ b/EKF/airspeed_fusion.cpp @@ -70,7 +70,7 @@ void Ekf::fuseAirspeed() v_tas_pred = sqrtf((ve - vwe) * (ve - vwe) + (vn - vwn) * (vn - vwn) + vd * vd); // Perform fusion of True Airspeed measurement - if (v_tas_pred > 3.0f) { + if (v_tas_pred > 1.0f) { // Calculate the observation jacobian // intermediate variable from algebraic optimisation SH_TAS[0] = 1 / v_tas_pred;