Browse Source

HAL_ChibiOS: fixed Pixhawk1 gyro orientation

this was broken by the recent switch to hwdef.dat for orientations
master
Andrew Tridgell 6 years ago
parent
commit
5ce4ff916e
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat

2
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1/hwdef.dat

@ -17,7 +17,7 @@ include ../fmuv3/hwdef.dat @@ -17,7 +17,7 @@ include ../fmuv3/hwdef.dat
# and two SPIDEV endpoints, one for gyro, one for accel/mag
IMU Invensense SPI:mpu6000 ROTATION_ROLL_180
IMU LSM9DS0 SPI:lsm9ds0_g SPI:lsm9ds0_am ROTATION_ROLL_180
IMU LSM9DS0 SPI:lsm9ds0_g SPI:lsm9ds0_am ROTATION_ROLL_180 ROTATION_ROLL_180_YAW_270 ROTATION_PITCH_180
# define the barometers to probe with BARO lines. These follow the
# same format as IMU lines

Loading…
Cancel
Save