vertical board mounting

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
User avatar
alll
Posts: 220
Joined: Fri Dec 07, 2012 9:53 am

vertical board mounting

Post by alll »

Hi,

I want to mount a HK_MultiWii_328P vertically, ie swap PITCH and YAW (x & z), but it seems not to work.
Here are the normal (flat) sensor orientations, what need to be changed ...?

manu

//HK_MultiWii_328P board vertical swap X & Z
//#define ACC_ORIENTATION(X, Y, Z) {imu.accADC[ROLL] = -X; imu.accADC[PITCH] = -Y; imu.accADC[YAW] = Z;}
//#define GYRO_ORIENTATION(X, Y, Z){imu.gyroADC[ROLL] = Y; imu.gyroADC[PITCH] = -X; imu.gyroADC[YAW] = -Z;}
//#define MAG_ORIENTATION(X, Y, Z) {imu.magADC[ROLL] = X; imu.magADC[PITCH] = Y; imu.magADC[YAW] = -Z;}

User avatar
alll
Posts: 220
Joined: Fri Dec 07, 2012 9:53 am

Re: vertical board mounting

Post by alll »

must be this,will test it out asap...
... tested and it works! ;)
Attachments
IMG_1220-.jpg

Post Reply