|
|
@ -741,7 +741,7 @@ AP_InertialSensor::detect_backends(void) |
|
|
|
ROTATION_ROLL_180_YAW_90, |
|
|
|
ROTATION_ROLL_180_YAW_90, |
|
|
|
ROTATION_ROLL_180_YAW_90)); |
|
|
|
ROTATION_ROLL_180_YAW_90)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU9250_NAME), ROTATION_YAW_270)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU9250_NAME), ROTATION_YAW_270)); |
|
|
|
// new cubes have ICM20602, ICM20648, ICM20649
|
|
|
|
// new cubes have ICM20602, ICM20948, ICM20649
|
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20602_ext"), ROTATION_ROLL_180_YAW_270)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20602_ext"), ROTATION_ROLL_180_YAW_270)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948_ext"), ROTATION_PITCH_180)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948_ext"), ROTATION_PITCH_180)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948"), ROTATION_YAW_270)); |
|
|
|
ADD_BACKEND(AP_InertialSensor_Invensensev2::probe(*this, hal.spi->get_device("icm20948"), ROTATION_YAW_270)); |
|
|
|