mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 02:57:34 +08:00
EKF: use initial wind uncertainty with no airspeed sensor (#823)
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user