mirror of https://github.com/ArduPilot/ardupilot
Copter: switch Linux to L3G4200D ins driver
This commit is contained in:
parent
561618b2b2
commit
6145924481
|
@ -229,6 +229,8 @@ static AP_InertialSensor_HIL ins;
|
|||
static AP_InertialSensor_PX4 ins;
|
||||
#elif CONFIG_IMU_TYPE == CONFIG_IMU_FLYMAPLE
|
||||
AP_InertialSensor_Flymaple ins;
|
||||
#elif CONFIG_IMU_TYPE == CONFIG_IMU_L3G4200D
|
||||
AP_InertialSensor_L3G4200D ins;
|
||||
#endif
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
# define MAGNETOMETER ENABLED
|
||||
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
# define CONFIG_IMU_TYPE CONFIG_IMU_SITL
|
||||
# define CONFIG_IMU_TYPE CONFIG_IMU_L3G4200D
|
||||
# define CONFIG_BARO AP_BARO_BMP085
|
||||
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
||||
# define CONFIG_ADC DISABLED
|
||||
|
|
Loading…
Reference in New Issue