mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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;
|
static AP_InertialSensor_PX4 ins;
|
||||||
#elif CONFIG_IMU_TYPE == CONFIG_IMU_FLYMAPLE
|
#elif CONFIG_IMU_TYPE == CONFIG_IMU_FLYMAPLE
|
||||||
AP_InertialSensor_Flymaple ins;
|
AP_InertialSensor_Flymaple ins;
|
||||||
|
#elif CONFIG_IMU_TYPE == CONFIG_IMU_L3G4200D
|
||||||
|
AP_InertialSensor_L3G4200D ins;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
# define MAGNETOMETER ENABLED
|
# define MAGNETOMETER ENABLED
|
||||||
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
|
# define CONFIG_SONAR_SOURCE SONAR_SOURCE_ANALOG_PIN
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
#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_BARO AP_BARO_BMP085
|
||||||
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
||||||
# define CONFIG_ADC DISABLED
|
# define CONFIG_ADC DISABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user