AP_InertialSensor: added OMNIBUSF7V2 INS sensors
a dual-IMU board
This commit is contained in:
parent
943e433be6
commit
ea2dc9b831
@ -854,6 +854,9 @@ AP_InertialSensor::detect_backends(void)
|
||||
HAL_INS_DEFAULT_A_ROTATION));
|
||||
#elif HAL_INS_DEFAULT == HAL_INS_ICM20789_SPI
|
||||
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20789")));
|
||||
#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_NONE));
|
||||
#elif HAL_INS_DEFAULT == HAL_INS_NONE
|
||||
// no INS device
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user