mirror of https://github.com/ArduPilot/ardupilot
AHRS: enable AHRS_ group in ArduCopter
This commit is contained in:
parent
d07b77237e
commit
95cb35c7bb
|
@ -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
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue