EKF: use initial wind uncertainty with no airspeed sensor (#823)

This commit is contained in:
Carl Olsson
2020-05-20 08:38:58 +02:00
committed by GitHub
parent bf78044bcd
commit 7f21364844
+1 -1
View File
@@ -935,7 +935,7 @@ void Ekf::resetWindCovariance()
} else { } else {
// without airspeed, start with a small initial uncertainty to improve the initial estimate // without airspeed, start with a small initial uncertainty to improve the initial estimate
P.uncorrelateCovarianceSetVariance<2>(22, 1.0f); P.uncorrelateCovarianceSetVariance<2>(22, _params.initial_wind_uncertainty);
} }
} }