Solution:  Manually configure the orientation of the sensors for the MultiWii (config.h; line ~200):
                                                                      
#define FORCE_ACC_ORIENTATION(X, Y, Z){imu.accADC[ROLL]  =  -X;imu.accADC[PITCH]  = -Y;                                       imu.accADC[YAW]  = Z;}
#define FORCE_GYRO_ORIENTATION(X, Y, Z){imu.gyroADC[ROLL] = Y;                                        imu.gyroADC[PITCH] =  -X;                                         imu.gyroADC[YAW] = -Z;}
#define FORCE_MAG_ORIENTATION(X, Y, Z){imu.magADC[ROLL]  =  X;                                       imu.magADC[PITCH]  =  Y;                                        imu.magADC[YAW]  = -Z;}
No comments:
Post a Comment