mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_InertialSensor: probe IMUs for mRoControlZeroF7
This commit is contained in:
parent
da8ecbe389
commit
a90089652c
@ -864,6 +864,13 @@ AP_InertialSensor::detect_backends(void)
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_CHIBIOS_OMNIBUSF7V2
|
||||
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("mpu6000"), ROTATION_NONE));
|
||||
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("mpu6500"), ROTATION_YAW_90));
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_CHIBIOS_MROCONTROLZEROF7
|
||||
ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948"), ROTATION_ROLL_180_YAW_90));
|
||||
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20608"), ROTATION_ROLL_180_YAW_90));
|
||||
ADD_BACKEND(AP_InertialSensor_BMI088::probe(*this,
|
||||
hal.spi->get_device("bmi088_a"),
|
||||
hal.spi->get_device("bmi088_g"),
|
||||
ROTATION_NONE));
|
||||
#elif HAL_INS_DEFAULT == HAL_INS_NONE
|
||||
// no INS device
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user