Skip to content
Snippets Groups Projects
Commit 5a9211c2 authored by rmackay9's avatar rmackay9
Browse files

AP_AHRS: removed var_info from AP_AHRS class (moved to AP_AHRS_DCM)

parent c2b47d2b
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,9 @@ public: ...@@ -39,6 +39,9 @@ public:
_gyro_drift_limit = imu->get_gyro_drift_rate(); _gyro_drift_limit = imu->get_gyro_drift_rate();
} }
// empty init
virtual void init() {};
// Accessors // Accessors
void set_fly_forward(bool b) { _fly_forward = b; } void set_fly_forward(bool b) { _fly_forward = b; }
void set_compass(Compass *compass) { _compass = compass; } void set_compass(Compass *compass) { _compass = compass; }
...@@ -84,7 +87,7 @@ public: ...@@ -84,7 +87,7 @@ public:
// attitude // attitude
virtual Matrix3f get_dcm_matrix(void) = 0; virtual Matrix3f get_dcm_matrix(void) = 0;
static const struct AP_Param::GroupInfo var_info[]; //static const struct AP_Param::GroupInfo var_info[];
protected: protected:
// pointer to compass object, if enabled // pointer to compass object, if enabled
...@@ -113,6 +116,7 @@ protected: ...@@ -113,6 +116,7 @@ protected:
#include <AP_AHRS_DCM.h> #include <AP_AHRS_DCM.h>
#include <AP_AHRS_Quaternion.h> #include <AP_AHRS_Quaternion.h>
#include <AP_AHRS_MPU6000.h>
#include <AP_AHRS_HIL.h> #include <AP_AHRS_HIL.h>
#endif // AP_AHRS_H #endif // AP_AHRS_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment