From 20592ce4d81ff533510698391d163b9ec5819c9d Mon Sep 17 00:00:00 2001 From: Johan Jansen Date: Thu, 12 Mar 2015 10:29:16 +0100 Subject: [PATCH] AttPosEKF: Compile fix for protected HIL function --- .../ekf_att_pos_estimator/estimator_22states.h | 12 ++++++------ 1 file 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 89cf96245f..6d3076da79 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