diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-06-15 14:46:30 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-06-15 14:46:30 +0200 |
commit | 0700a4f6b823b77ad7b343c641ec8fb34f130173 (patch) | |
tree | c508609bcf7d311508c1d11ace0090c5d1dd0f2d /src/modules | |
parent | bd8b071875164f56eb92c8cdc5b4fca92bd7e362 (diff) | |
download | px4-firmware-0700a4f6b823b77ad7b343c641ec8fb34f130173.tar.gz px4-firmware-0700a4f6b823b77ad7b343c641ec8fb34f130173.tar.bz2 px4-firmware-0700a4f6b823b77ad7b343c641ec8fb34f130173.zip |
att pos estimator: correctly initialize fusionModeGPS variable, this makes the system use gps again and hence fixes the huge drift problems
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator_23states.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp index 45790063f..d364facad 100644 --- a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp +++ b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp @@ -14,6 +14,7 @@ AttPosEKF::AttPosEKF() summedDelAng.zero(); summedDelVel.zero(); + fusionModeGPS = 0; fuseVelData = false; fusePosData = false; fuseHgtData = false; |