When Tilt front , Roll goes left ?!?!
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
When Tilt front , Roll goes left ?!?!
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
Any idea why ?
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
Any idea why ?
Re: When Tilt front , Roll goes left ?!?!
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
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: When Tilt front , Roll goes left ?!?!
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
Re: When Tilt front , Roll goes left ?!?!
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.
I think X arrow points to the front, and that is for roll, then Y is for pitch and Z for yaw.
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: When Tilt front , Roll goes left ?!?!
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 !!!
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: When Tilt front , Roll goes left ?!?!
If you have the same board as I do, the markings are incorrect.
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: When Tilt front , Roll goes left ?!?!
copterrichie wrote:If you have the same board as I do, the markings are incorrect.
my main concern is that im taking wrong readings
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: When Tilt front , Roll goes left ?!?!
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.
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: When Tilt front , Roll goes left ?!?!
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.
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: When Tilt front , Roll goes left ?!?!
Working !!!!!!!!
Ευχαριστω !!!
Thank you !!!
谢谢 !!!
Ευχαριστω !!!
Thank you !!!
谢谢 !!!
Re: When Tilt front , Roll goes left ?!?!
sweet! happy flying!