Browse Source

AP_InertialSensor: add ppro support

mission-4.1.18
Kevin Lopez Alvarez 8 years ago committed by Andrew Tridgell
parent
commit
ca3627c140
  1. 6
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

6
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -726,6 +726,12 @@ AP_InertialSensor::detect_backends(void) @@ -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));
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:
// PHMINI uses ICM20608 on the ACCEL_MAG device and a MPU9250 on the old MPU6000 CS line
_fast_sampling_mask.set_default(3);

Loading…
Cancel
Save