When Tilt front , Roll goes left ?!?!

Post Reply
User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

When Tilt front , Roll goes left ?!?!

Post by NikTheGreek »

Hi.
I'm using MPU 6050 ... http://www.ebay.com/itm/270975107371?ss ... 1497.l2649
and what i've noticed is that when i tilt my quad front (tail up) Roll goes left in the GUI :o
Any idea why ?

tovrin
Posts: 705
Joined: Tue Sep 20, 2011 4:08 pm

Re: When Tilt front , Roll goes left ?!?!

Post by tovrin »

sensor orientation? make sure its facing the right direction when mounted to your board. I have a chip with a mpu6050 built in and it has x and y written on the chip for orientation

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: When Tilt front , Roll goes left ?!?!

Post by NikTheGreek »

tovrin wrote:sensor orientation? make sure its facing the right direction when mounted to your board. I have a chip with a mpu6050 built in and it has x and y written on the chip for orientation


in my case x is facing front (take a look at the ebay's image)
i quess it is correct

doughboy
Posts: 252
Joined: Tue Sep 04, 2012 7:20 am

Re: When Tilt front , Roll goes left ?!?!

Post by doughboy »

I use the exact same sensor. I incorrectly set it so Y arrow is pointing to front. I think you are correct to make the X arrow point to the front. I had to switch the X and Y in the sensor orientation define to make pitch and roll as shown in win-gui right.

I think X arrow points to the front, and that is for roll, then Y is for pitch and Z for yaw.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: When Tilt front , Roll goes left ?!?!

Post by NikTheGreek »

doughboy wrote:I use the exact same sensor. I incorrectly set it so Y arrow is pointing to front. I think you are correct to make the X arrow point to the front. I had to switch the X and Y in the sensor orientation define to make pitch and roll as shown in win-gui right.

I think X arrow points to the front, and that is for roll, then Y is for pitch and Z for yaw.


With X pointing to the FRONT

according to multiwii faq

How should be the sensor axis directions

TILT the MULTI to the RIGHT (left side up):

MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up

Do you think that i'm taking the correct readings ??
I m NOT !!!


Image

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: When Tilt front , Roll goes left ?!?!

Post by copterrichie »

If you have the same board as I do, the markings are incorrect.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: When Tilt front , Roll goes left ?!?!

Post by NikTheGreek »

copterrichie wrote:If you have the same board as I do, the markings are incorrect.


my main concern is that im taking wrong readings :shock:

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: When Tilt front , Roll goes left ?!?!

Post by copterrichie »

Code: Select all

//if you want to change to orientation of individual sensor
//#define ACC_ORIENTATION(X, Y, Z)  {accADC[ROLL]  =  Y; accADC[PITCH]  = -X; 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;}


You can change it here, no big deal.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: When Tilt front , Roll goes left ?!?!

Post by NikTheGreek »

copterrichie wrote:

Code: Select all

//if you want to change to orientation of individual sensor
//#define ACC_ORIENTATION(X, Y, Z)  {accADC[ROLL]  =  Y; accADC[PITCH]  = -X; 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;}


You can change it here, no big deal.


Thank you.... ;)
seems that Gyro is not oriented correctly..
i ll make some tests and i ll let you know.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: When Tilt front , Roll goes left ?!?!

Post by NikTheGreek »

Working !!!!!!!!

Ευχαριστω !!! :o
Thank you !!! :shock:
谢谢 !!! :?


:lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

tovrin
Posts: 705
Joined: Tue Sep 20, 2011 4:08 pm

Re: When Tilt front , Roll goes left ?!?!

Post by tovrin »

sweet! happy flying!

Post Reply