AP_HAL: Fix Navigator orientation

The Rev2 prototype board had the IMU rotated
This commit is contained in:
Willian Galvani 2020-01-31 17:02:26 -03:00 committed by Jacob Walser
parent bdef7d7158
commit 4afdff746e
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2
#define HAL_WITH_UAVCAN 1
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIGATOR
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(LSM9DS1, "lsm9ds1_ag", ROTATION_ROLL_180_YAW_270)
#define HAL_MAG_PROBE_LIST PROBE_MAG_SPI(LSM9DS1, "lsm9ds1_m", ROTATION_PITCH_180_YAW_270)
#define HAL_INS_PROBE_LIST PROBE_IMU_SPI(LSM9DS1, "lsm9ds1_ag", ROTATION_PITCH_180)
#define HAL_MAG_PROBE_LIST PROBE_MAG_SPI(LSM9DS1, "lsm9ds1_m", ROTATION_NONE)
#define HAL_BARO_PROBE_LIST PROBE_BARO_SPI(BMP280, "bmp280")
#define HAL_BATT_CURR_PIN 0
#define HAL_BATT_CURR_SCALE 1