MultiWii 2.0 gyros & accels backwards on Cirrus Board

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
sfcnzl
Posts: 2
Joined: Fri May 25, 2012 5:29 am

MultiWii 2.0 gyros & accels backwards on Cirrus Board

Post by sfcnzl »

Hi Guys

Loaded MultiWii 2.0 onto a Cirrus SE board (from Goodluckbuy) today only to find some of the gyros & accels were backwards. Anyways heres what Ive done to fix the problem. Note Ive have NOT checked the Mag directions yet, will do sometime next week.

//Orginal Code
#if defined(CRIUS_SE)
#define ITG3200
#define BMA180
#define HMC5883
#define BMP085
#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;}
#endif
// End code

//Fixed code
#if defined(CRIUS_SE)
#define ITG3200
#define BMA180
#define HMC5883
#define BMP085
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -Y; accADC[PITCH] = X; accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = -X; gyroADC[PITCH] = -Y; gyroADC[YAW] = -Z;}
#define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;}
#endif
// End code

User avatar
Bledi
Posts: 187
Joined: Sat Sep 10, 2011 6:36 pm

Re: MultiWii 2.0 gyros & accels backwards on Cirrus Board

Post by Bledi »

???? it's strange, I have a CRIUS SE and I had not change the orientations, it's working fine for me

dr.tom
Posts: 141
Joined: Fri Mar 30, 2012 4:46 pm
Location: Croatia
Contact:

Re: MultiWii 2.0 gyros & accels backwards on Cirrus Board

Post by dr.tom »

me too, works fine as it is, nothing to modify.

double check if your motors are plugged correctly.

sfcnzl
Posts: 2
Joined: Fri May 25, 2012 5:29 am

Re: MultiWii 2.0 gyros & accels backwards on Cirrus Board

Post by sfcnzl »

Was there a change of motor directions between Version 1.9 and 2.0 ?? My quad was working fine with MultiWii 1.9

Post Reply