From 8ab35e8acac97ffb0fa856aef730405beb0e7065 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 Jan 2018 12:01:22 +1100 Subject: [PATCH] AP_InertialSensor: fixed MindPX-v2 orientation of IMU2 --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 96e1986f23..7b149956b1 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -780,9 +780,9 @@ AP_InertialSensor::detect_backends(void) _add_backend(AP_InertialSensor_LSM9DS0::probe(*this, hal.spi->get_device(HAL_INS_LSM9DS0_G_NAME), hal.spi->get_device(HAL_INS_LSM9DS0_A_NAME), - ROTATION_NONE, - ROTATION_NONE, - ROTATION_NONE)); + ROTATION_YAW_90, + ROTATION_YAW_90, + ROTATION_YAW_90)); break; default: