forked from Archive/PX4-Autopilot
EKF: use initial wind uncertainty with no airspeed sensor (#823)
This commit is contained in:
parent
bf78044bcd
commit
7f21364844
|
@ -935,7 +935,7 @@ void Ekf::resetWindCovariance()
|
|||
|
||||
} else {
|
||||
// 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);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue