Skip to content

Commit

Permalink
HAL_ChibiOS: fixed the imu orientation of RadiolinkPIX6
Browse files Browse the repository at this point in the history
  • Loading branch information
radiolinkW committed Aug 23, 2024
1 parent 62e3c6a commit 16e3a5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/AP_HAL_ChibiOS/hwdef/RadiolinkPIX6/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ SPIDEV osd SPI2 DEVID2 AT7456_CS MODE0 10*MHZ 10*MHZ
SPIDEV ramtron SPI2 DEVID1 FRAM_CS MODE3 8*MHZ 8*MHZ

# up to 2 IMUs
IMU Invensensev3 SPI:imu2 ROTATION_YAW_90
IMU Invensensev3 SPI:imu2 ROTATION_PITCH_180_YAW_270

IMU BMI088 SPI:bmi088_a SPI:bmi088_g ROTATION_NONE
IMU BMI088 SPI:bmi088_a SPI:bmi088_g ROTATION_PITCH_180

define HAL_DEFAULT_INS_FAST_SAMPLE 1

Expand All @@ -183,7 +183,7 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES

# we need to stop the probe of an IST8310 as an internal compass with PITCH_180
define HAL_COMPASS_DISABLE_IST8310_INTERNAL_PROBE
COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_ROLL_180
COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_YAW_180

# one baro
BARO SPL06 I2C:0:0x76
Expand Down

0 comments on commit 16e3a5a

Please sign in to comment.