Browse Source

AP_InertialSensor: added OMNIBUSF7V2 INS sensors

a dual-IMU board
mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
ea2dc9b831
  1. 3
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

3
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -854,6 +854,9 @@ AP_InertialSensor::detect_backends(void) @@ -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…
Cancel
Save