mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: add ppro support
This commit is contained in:
parent
88958b2dbf
commit
ca3627c140
|
@ -726,6 +726,12 @@ AP_InertialSensor::detect_backends(void)
|
||||||
_add_backend(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU9250_NAME), ROTATION_ROLL_180_YAW_90));
|
_add_backend(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU9250_NAME), ROTATION_ROLL_180_YAW_90));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case AP_BoardConfig::PX4_BOARD_PIXHAWK_PRO:
|
||||||
|
_fast_sampling_mask.set_default(3);
|
||||||
|
_add_backend(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_ICM20608_NAME), ROTATION_ROLL_180_YAW_90));
|
||||||
|
_add_backend(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device(HAL_INS_MPU9250_NAME), ROTATION_ROLL_180_YAW_90));
|
||||||
|
break;
|
||||||
|
|
||||||
case AP_BoardConfig::PX4_BOARD_PHMINI:
|
case AP_BoardConfig::PX4_BOARD_PHMINI:
|
||||||
// PHMINI uses ICM20608 on the ACCEL_MAG device and a MPU9250 on the old MPU6000 CS line
|
// PHMINI uses ICM20608 on the ACCEL_MAG device and a MPU9250 on the old MPU6000 CS line
|
||||||
_fast_sampling_mask.set_default(3);
|
_fast_sampling_mask.set_default(3);
|
||||||
|
|
Loading…
Reference in New Issue