att_pos_estimator_ekf: Update filter to new filter API

This commit is contained in:
Lorenz Meier
2014-04-21 01:20:35 +02:00
parent 14fb653d8c
commit c08544721a
@@ -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;
}