AHRS: enable AHRS_ group in ArduCopter

This commit is contained in:
Andrew Tridgell 2012-04-16 20:55:03 +10:00
parent d07b77237e
commit 95cb35c7bb
2 changed files with 5 additions and 3 deletions

View File

@ -102,6 +102,7 @@ public:
k_param_rtl_land_enabled,
k_param_axis_enabled,
k_param_copter_leds_mode, //158
k_param_ahrs, // AHRS group
//
// 160: Navigation parameters

View File

@ -135,12 +135,13 @@ static const AP_Param::Info var_info[] PROGMEM = {
GOBJECT(compass, "COMPASS_", Compass),
GOBJECT(gcs0, "SR0_", GCS_MAVLINK),
GOBJECT(gcs3, "SR3_", GCS_MAVLINK),
GOBJECT(imu, "IMU_", IMU)
GOBJECT(imu, "IMU_", IMU),
GOBJECT(ahrs, "AHRS_", AP_AHRS),
#if FRAME_CONFIG == HELI_FRAME
,GOBJECT(motors, "H_", AP_MotorsHeli)
GOBJECT(motors, "H_", AP_MotorsHeli),
#else
,GOBJECT(motors, "MOT_", AP_Motors)
GOBJECT(motors, "MOT_", AP_Motors),
#endif
};