aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_pos_estimator/estimator.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-05 12:56:15 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-05 12:56:15 +0200
commitf21ce7e50cf4e9f77fb7d26508c989ed2ff1f300 (patch)
treec713f656fa2d3aa1ade29c6e984f7f6474b59095 /src/modules/fw_att_pos_estimator/estimator.cpp
parentec2197fd1b228d8eb4855c49d5f9b1365685d01c (diff)
downloadpx4-firmware-f21ce7e50cf4e9f77fb7d26508c989ed2ff1f300.tar.gz
px4-firmware-f21ce7e50cf4e9f77fb7d26508c989ed2ff1f300.tar.bz2
px4-firmware-f21ce7e50cf4e9f77fb7d26508c989ed2ff1f300.zip
Compile hotfix for master
Diffstat (limited to 'src/modules/fw_att_pos_estimator/estimator.cpp')
-rw-r--r--src/modules/fw_att_pos_estimator/estimator.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/modules/fw_att_pos_estimator/estimator.cpp b/src/modules/fw_att_pos_estimator/estimator.cpp
index 7ab06e85d..c31217393 100644
--- a/src/modules/fw_att_pos_estimator/estimator.cpp
+++ b/src/modules/fw_att_pos_estimator/estimator.cpp
@@ -106,7 +106,22 @@ void swap_var(float &d1, float &d2)
d2 = tmp;
}
-AttPosEKF::AttPosEKF()
+AttPosEKF::AttPosEKF() :
+ fusionModeGPS(0),
+ covSkipCount(0),
+ EAS2TAS(1.0f),
+ statesInitialised(false),
+ fuseVelData(false),
+ fusePosData(false),
+ fuseHgtData(false),
+ fuseMagData(false),
+ fuseVtasData(false),
+ onGround(true),
+ staticMode(true),
+ useAirspeed(true),
+ useCompass(true),
+ numericalProtection(true),
+ storeIndex(0)
{
}