att pos estimator: correctly initialize fusionModeGPS variable, this makes the system use gps again and hence fixes the huge drift problems

This commit is contained in:
Thomas Gubler 2014-06-15 14:46:30 +02:00
parent bd8b071875
commit 0700a4f6b8
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ AttPosEKF::AttPosEKF()
summedDelAng.zero(); summedDelAng.zero();
summedDelVel.zero(); summedDelVel.zero();
fusionModeGPS = 0;
fuseVelData = false; fuseVelData = false;
fusePosData = false; fusePosData = false;
fuseHgtData = false; fuseHgtData = false;