MWC 2.0版本的传感器方位设置与1.9是不同的,
若是这种位置排列,
传感器为ITG3205,BMA180,HMC5883,BMP085
config.h 里传感器应设置为
#define QUADRINO // full FC board 9DOF+baro board from witespy with BMP085 baro
#define ITG3200_LPF_98HZ
若传感器为ITG3205,BMA020,HMC5883,BMP085
需要单独设置每个传感器
#define ITG3200
#define BMA020
#define BMP085
#define HMC5883
#define ITG3200_LPF_98HZ
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH] = -Y; accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
#define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;} |