diff --git a/sw/airborne/booz/imu/booz_imu_b2.h b/sw/airborne/booz/imu/booz_imu_b2.h index 6e363e4b40..ecb554048b 100644 --- a/sw/airborne/booz/imu/booz_imu_b2.h +++ b/sw/airborne/booz/imu/booz_imu_b2.h @@ -34,6 +34,19 @@ #define IMU_B2_MAG_MS2001 1 #define IMU_B2_MAG_AMI601 2 +/* Default IMU b2 sensors connection */ +#ifndef IMU_OVERRIDE_CHANNELS +#define IMU_GYRO_P_CHAN 1 +#define IMU_GYRO_Q_CHAN 0 +#define IMU_GYRO_R_CHAN 2 +#define IMU_ACCEL_X_CHAN 5 +#define IMU_ACCEL_Y_CHAN 3 +#define IMU_ACCEL_Z_CHAN 4 +#define IMU_MAG_X_CHAN 0 +#define IMU_MAG_Y_CHAN 1 +#define IMU_MAG_Z_CHAN 2 +#endif /* not IMU_OVERRIDE_CHANNELS */ + #if !defined IMU_GYRO_P_SIGN & !defined IMU_GYRO_Q_SIGN & !defined IMU_GYRO_R_SIGN #define IMU_GYRO_P_SIGN 1 #define IMU_GYRO_Q_SIGN -1