AP_AHRS_DCM: moved var_info to belong to AP_AHRS_DCM instead of AP_AHRS

This commit is contained in:
rmackay9 2012-07-28 14:16:15 +09:00
parent 7b9782c5ac
commit 468170b589
2 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#define SPIN_RATE_LIMIT 20
// table of user settable parameters
const AP_Param::GroupInfo AP_AHRS::var_info[] PROGMEM = {
const AP_Param::GroupInfo AP_AHRS_DCM::var_info[] PROGMEM = {
// @Param: YAW_P
// @DisplayName: Yaw P
// @Description: This controls the weight the compass has on the overall heading

View File

@ -48,6 +48,9 @@ public:
AP_Float _kp;
AP_Float gps_gain;
// for holding parameters
static const struct AP_Param::GroupInfo var_info[];
private:
float _ki;
float _ki_yaw;