diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-13 14:58:57 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-13 14:58:57 +0200 |
commit | b4b3a2a2c68a523af5141a4452e533befc873384 (patch) | |
tree | 07dad299883c61addc45f69de62852dcc2885f28 /src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | |
parent | c610050dc305884a704b51c00cfff5f2f9984bcb (diff) | |
download | px4-firmware-b4b3a2a2c68a523af5141a4452e533befc873384.tar.gz px4-firmware-b4b3a2a2c68a523af5141a4452e533befc873384.tar.bz2 px4-firmware-b4b3a2a2c68a523af5141a4452e533befc873384.zip |
EKF hotfix: Force zero initialization of vectors
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp index 5d768b73d..a835599e7 100644 --- a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp @@ -743,8 +743,8 @@ FixedwingEstimator::task_main() /* sets also parameters in the EKF object */ parameters_update(); - Vector3f lastAngRate = {0.0f, 0.0f, 0.0f}; - Vector3f lastAccel = {0.0f, 0.0f, 0.0f}; + Vector3f lastAngRate; + Vector3f lastAccel; /* wakeup source(s) */ struct pollfd fds[2]; |