aboutsummaryrefslogtreecommitdiff
path: root/src/modules/ekf_att_pos_estimator/estimator.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-22 11:02:31 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-22 11:02:31 +0200
commit4585df1182083c39f2439bb7b88953dcc3575240 (patch)
treef15f32c6dc723d1f897b03bc3a28e0925f1395cc /src/modules/ekf_att_pos_estimator/estimator.h
parent1e80e624916a0eb1b13adccb4f700adeeee66bba (diff)
downloadpx4-firmware-4585df1182083c39f2439bb7b88953dcc3575240.tar.gz
px4-firmware-4585df1182083c39f2439bb7b88953dcc3575240.tar.bz2
px4-firmware-4585df1182083c39f2439bb7b88953dcc3575240.zip
Robustified filter init / sequencing
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/estimator.h')
-rw-r--r--src/modules/ekf_att_pos_estimator/estimator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator.h b/src/modules/ekf_att_pos_estimator/estimator.h
index 5e60e506f..e118ae573 100644
--- a/src/modules/ekf_att_pos_estimator/estimator.h
+++ b/src/modules/ekf_att_pos_estimator/estimator.h
@@ -211,6 +211,7 @@ public:
double latRef; // WGS-84 latitude of reference point (rad)
double lonRef; // WGS-84 longitude of reference point (rad)
float hgtRef; // WGS-84 height of reference point (m)
+ bool refSet; ///< flag to indicate if the reference position has been set
Vector3f magBias; // states representing magnetometer bias vector in XYZ body axes
unsigned covSkipCount; // Number of state prediction frames (IMU daya updates to skip before doing the covariance prediction