mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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_rtl_land_enabled,
|
||||||
k_param_axis_enabled,
|
k_param_axis_enabled,
|
||||||
k_param_copter_leds_mode, //158
|
k_param_copter_leds_mode, //158
|
||||||
|
k_param_ahrs, // AHRS group
|
||||||
|
|
||||||
//
|
//
|
||||||
// 160: Navigation parameters
|
// 160: Navigation parameters
|
||||||
|
@ -135,12 +135,13 @@ static const AP_Param::Info var_info[] PROGMEM = {
|
|||||||
GOBJECT(compass, "COMPASS_", Compass),
|
GOBJECT(compass, "COMPASS_", Compass),
|
||||||
GOBJECT(gcs0, "SR0_", GCS_MAVLINK),
|
GOBJECT(gcs0, "SR0_", GCS_MAVLINK),
|
||||||
GOBJECT(gcs3, "SR3_", 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
|
#if FRAME_CONFIG == HELI_FRAME
|
||||||
,GOBJECT(motors, "H_", AP_MotorsHeli)
|
GOBJECT(motors, "H_", AP_MotorsHeli),
|
||||||
#else
|
#else
|
||||||
,GOBJECT(motors, "MOT_", AP_Motors)
|
GOBJECT(motors, "MOT_", AP_Motors),
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user