mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 11:38:54 +08:00
att_pos_estimator_ekf: Update filter to new filter API
This commit is contained in:
@@ -978,8 +978,8 @@ FixedwingEstimator::task_main()
|
||||
// or the time limit will be exceeded at the next IMU update
|
||||
if ((dt >= (_ekf->covTimeStepMax - _ekf->dtIMU)) || (_ekf->summedDelAng.length() > _ekf->covDelAngMax)) {
|
||||
_ekf->CovariancePrediction(dt);
|
||||
_ekf->summedDelAng = _ekf->summedDelAng.zero();
|
||||
_ekf->summedDelVel = _ekf->summedDelVel.zero();
|
||||
_ekf->summedDelAng.zero();
|
||||
_ekf->summedDelVel.zero();
|
||||
dt = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user