I just received a MultiWii 2012 board (The one Terri Wang sells on eBay). I'm switching from a KK board and, rather than completely rebuild my quad (ESC wiring to the power board is just long enough for the current "diamond" orientation of the KK setup), I want to run the board 45 degrees clockwise from the forward arrow on it. I know I need to change the sensor orientation, but I cannot figure out exactly how to do so. It seems to be a nice board, but all the documentation on the CD it came with is in Chinese.

I believe these are the lines I need to change (from the def.h file), but I can't seem to find a reference as to how to do so properly.
Code: Select all
#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;}
The board is running MultiWii 2.0.
Any assistance would be much appreciated!
-K