aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_pos_estimator/estimator.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-02-01 17:23:03 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-02-01 17:23:03 +0100
commit0962d041f17beda7d4495c4d450dd39967a11a90 (patch)
treeb5001ab659fa1f11d701b23faedb79e415d50c05 /src/modules/fw_att_pos_estimator/estimator.cpp
parent9cb59e33a6da2bcd2bb49bc3d49ce527597582f9 (diff)
downloadpx4-firmware-0962d041f17beda7d4495c4d450dd39967a11a90.tar.gz
px4-firmware-0962d041f17beda7d4495c4d450dd39967a11a90.tar.bz2
px4-firmware-0962d041f17beda7d4495c4d450dd39967a11a90.zip
Estimator init
Diffstat (limited to 'src/modules/fw_att_pos_estimator/estimator.cpp')
-rw-r--r--src/modules/fw_att_pos_estimator/estimator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_att_pos_estimator/estimator.cpp b/src/modules/fw_att_pos_estimator/estimator.cpp
index 9b57dfd55..f2db4aa1e 100644
--- a/src/modules/fw_att_pos_estimator/estimator.cpp
+++ b/src/modules/fw_att_pos_estimator/estimator.cpp
@@ -322,7 +322,7 @@ void CovariancePrediction()
float SF[14];
float SG[8];
float SQ[11];
- float SPP[13];
+ float SPP[13] = {0};
float nextP[21][21];
// calculate covariance prediction process noise