aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohan Jansen <jnsn.johan@gmail.com>2015-03-12 10:29:16 +0100
committerJohan Jansen <jnsn.johan@gmail.com>2015-03-12 10:29:16 +0100
commit20592ce4d81ff533510698391d163b9ec5819c9d (patch)
tree9c85191979084a4336983bb1b347d45438c0887d /src
parent5f5a6e841f4ab287ee06b255e97bed4090b66068 (diff)
downloadpx4-firmware-20592ce4d81ff533510698391d163b9ec5819c9d.tar.gz
px4-firmware-20592ce4d81ff533510698391d163b9ec5819c9d.tar.bz2
px4-firmware-20592ce4d81ff533510698391d163b9ec5819c9d.zip
AttPosEKF: Compile fix for protected HIL function
Diffstat (limited to 'src')
-rw-r--r--src/modules/ekf_att_pos_estimator/estimator_22states.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_22states.h b/src/modules/ekf_att_pos_estimator/estimator_22states.h
index 89cf96245..6d3076da7 100644
--- a/src/modules/ekf_att_pos_estimator/estimator_22states.h
+++ b/src/modules/ekf_att_pos_estimator/estimator_22states.h
@@ -379,6 +379,12 @@ public:
* true if the vehicle moves like a Fixed Wing, false otherwise
**/
void setIsFixedWing(const bool fixedWing);
+
+ /**
+ * @brief
+ * Reset internal filter states and clear all variables to zero value
+ */
+ void ZeroVariables();
protected:
@@ -407,12 +413,6 @@ protected:
void AttitudeInit(float ax, float ay, float az, float mx, float my, float mz, float declination, float *initQuat);
void ResetStoredStates();
-
- /**
- * @brief
- * Reset internal filter states and clear all variables to zero value
- */
- void ZeroVariables();
private:
bool _isFixedWing; ///< True if the vehicle is a fixed-wing frame type