From 20592ce4d81ff533510698391d163b9ec5819c9d Mon Sep 17 00:00:00 2001 From: Johan Jansen Date: Thu, 12 Mar 2015 10:29:16 +0100 Subject: AttPosEKF: Compile fix for protected HIL function --- src/modules/ekf_att_pos_estimator/estimator_22states.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3