From b844bb791954c1c42d5d34381b227ee330316976 Mon Sep 17 00:00:00 2001 From: rmackay9 <rmackay9@yahoo.com> Date: Sat, 28 Jul 2012 14:16:56 +0900 Subject: [PATCH] AP_AHRS: removed var_info from AP_AHRS class (moved to AP_AHRS_DCM) --- libraries/AP_AHRS/AP_AHRS.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index f4d0bef687..b7ab34a856 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -39,6 +39,9 @@ public: _gyro_drift_limit = imu->get_gyro_drift_rate(); } + // empty init + virtual void init() {}; + // Accessors void set_fly_forward(bool b) { _fly_forward = b; } void set_compass(Compass *compass) { _compass = compass; } @@ -84,7 +87,7 @@ public: // attitude virtual Matrix3f get_dcm_matrix(void) = 0; - static const struct AP_Param::GroupInfo var_info[]; + //static const struct AP_Param::GroupInfo var_info[]; protected: // pointer to compass object, if enabled @@ -113,6 +116,7 @@ protected: #include <AP_AHRS_DCM.h> #include <AP_AHRS_Quaternion.h> +#include <AP_AHRS_MPU6000.h> #include <AP_AHRS_HIL.h> #endif // AP_AHRS_H