diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-13 15:39:35 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-13 15:39:35 +0200 |
commit | e8855423bea0938c607ed2ab8bde5ebec094b5a6 (patch) | |
tree | 8a2b57f56fbc7e7640982d4b44bf304b4e1c8235 /src/modules/ekf_att_pos_estimator | |
parent | 3d505c6f42779eddc983e0f1a25c59d998cdd041 (diff) | |
download | px4-firmware-e8855423bea0938c607ed2ab8bde5ebec094b5a6.tar.gz px4-firmware-e8855423bea0938c607ed2ab8bde5ebec094b5a6.tar.bz2 px4-firmware-e8855423bea0938c607ed2ab8bde5ebec094b5a6.zip |
EKF hotfix: Remove unused variables, use default initializer list for vectors
Diffstat (limited to 'src/modules/ekf_att_pos_estimator')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator_23states.h | 2 | ||||
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator_utilities.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_23states.h b/src/modules/ekf_att_pos_estimator/estimator_23states.h index ff311649a..faa6735ca 100644 --- a/src/modules/ekf_att_pos_estimator/estimator_23states.h +++ b/src/modules/ekf_att_pos_estimator/estimator_23states.h @@ -172,8 +172,6 @@ public: unsigned covSkipCount; // Number of state prediction frames (IMU daya updates to skip before doing the covariance prediction // GPS input data variables - float gpsCourse; - float gpsVelD; double gpsLat; double gpsLon; float gpsHgt; diff --git a/src/modules/ekf_att_pos_estimator/estimator_utilities.h b/src/modules/ekf_att_pos_estimator/estimator_utilities.h index 0cafdc808..6d1f47b68 100644 --- a/src/modules/ekf_att_pos_estimator/estimator_utilities.h +++ b/src/modules/ekf_att_pos_estimator/estimator_utilities.h @@ -19,9 +19,7 @@ public: float y; float z; - Vector3f() { zero(); } - - Vector3f(float a, float b, float c) : + Vector3f(float a=0.0f, float b=0.0f, float c=0.0f) : x(a), y(b), z(c) |