DROTEK IMU 9DOF Correct orientation HELP

Post Reply
mysku82
Posts: 17
Joined: Wed Oct 12, 2011 7:32 am
Location: Bucharest, Romania
Contact:

DROTEK IMU 9DOF Correct orientation HELP

Post by mysku82 »

Hello
I have IMU 9DOF from Dorotek http://www.drotek.fr/shop/en/34-imu-9do ... meter.html, and do not know if I set the correct orientation sensors that fail to align the arrow bin Front compass, rotate the plate and gave a momen skips arrow of the compass (N)
Please help me
The correct orientation it is:

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

it is ok?
Attachments
Board
Board
Imu 9dof
Imu 9dof
GUI
GUI
Last edited by mysku82 on Wed Dec 21, 2011 11:20 pm, edited 1 time in total.

mysku82
Posts: 17
Joined: Wed Oct 12, 2011 7:32 am
Location: Bucharest, Romania
Contact:

Re: DROTEK IMU 9DOF Correct orientation

Post by mysku82 »

Sorry for my bad english , can someone help me?

bob4432
Posts: 51
Joined: Sat Jan 29, 2011 2:51 am
Location: USA

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by bob4432 »

I think for the $$ you spent, drotek should be assisting you, I would contact them if I were you.

mysku82
Posts: 17
Joined: Wed Oct 12, 2011 7:32 am
Location: Bucharest, Romania
Contact:

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by mysku82 »

bob4432 wrote:I think for the $$ you spent, drotek should be assisting you, I would contact them if I were you.


If the producer gave me this information, may not appeal to this forum for help
PS: We suspect that the forum is to help, not condemn me I bought and where, thanks anyway

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by KeesvR »

This should help you: http://www.rcgroups.com/forums/showpost ... ount=23067
Edit: It was you who asked this, so you have the answer already :mrgreen:

Use this to check the right movements: http://www.multiwii.com/faq#How_should_ ... directions

mysku82
Posts: 17
Joined: Wed Oct 12, 2011 7:32 am
Location: Bucharest, Romania
Contact:

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by mysku82 »

Hello
Returning again to the same problem, correct orientation of the sensors for 2.0 MW rel2, direction of flight to led
Orientation of the 1.9 does not work

I struggled a bit and got it

#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;}

But it works well

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

MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up - OK
MAG_Z and ACC_Z goes down - OK_ACC but MAG goes up

TILT the MULTI forward (tail up):

MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up - OK
MAG_Z and ACC_Z goes down - OK

Rotating the copter clockwise (YAW):

GYRO_YAW goes up - OK

The copter stays level:

MAG_Z is positive ; ACC_Z is positive - OK

Can you help?
Thank you in advance

A great job Alexinparis, continued success of all

wilco1967
Posts: 156
Joined: Thu Aug 18, 2011 6:04 pm
Location: Winterswijk, Netherlands

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by wilco1967 »

mysku82 wrote:Hello
Returning again to the same problem, correct orientation of the sensors for 2.0 MW rel2, direction of flight to led
Orientation of the 1.9 does not work

I struggled a bit and got it

#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;}

But it works well

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

MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up - OK
MAG_Z and ACC_Z goes down - OK_ACC but MAG goes up

TILT the MULTI forward (tail up):

MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up - OK
MAG_Z and ACC_Z goes down - OK

Rotating the copter clockwise (YAW):

GYRO_YAW goes up - OK

The copter stays level:

MAG_Z is positive ; ACC_Z is positive - OK

Can you help?
Thank you in advance

A great job Alexinparis, continued success of all


Assuming the orientation did not change again after dev20120225, this is what I got. (did not try 2.0 yet).
It is based on the Drotect 9DOF with the soldering pins facing forward.

#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;}

Williwaw
Posts: 9
Joined: Sat Mar 10, 2012 9:57 pm

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by Williwaw »

bob4432 wrote:I think for the $$ you spent, drotek should be assisting you, I would contact them if I were you.

Dortek support is worthless and nonresistant. I bought a 9DOF from them and have emailed them and posted in their thread on RCG that they started and received no response from either. I would steer clear from them.

mysku82
Posts: 17
Joined: Wed Oct 12, 2011 7:32 am
Location: Bucharest, Romania
Contact:

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by mysku82 »

wilco1967 wrote:
mysku82 wrote:Hello
Returning again to the same problem, correct orientation of the sensors for 2.0 MW rel2, direction of flight to led
Orientation of the 1.9 does not work

I struggled a bit and got it

#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;}

But it works well

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

MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up - OK
MAG_Z and ACC_Z goes down - OK_ACC but MAG goes up

TILT the MULTI forward (tail up):

MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up - OK
MAG_Z and ACC_Z goes down - OK

Rotating the copter clockwise (YAW):

GYRO_YAW goes up - OK

The copter stays level:

MAG_Z is positive ; ACC_Z is positive - OK

Can you help?
Thank you in advance

A great job Alexinparis, continued success of all


Assuming the orientation did not change again after dev20120225, this is what I got. (did not try 2.0 yet).
It is based on the Drotect 9DOF with the soldering pins facing forward.

#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;}




Yes so am I, direction of flight before soldering. I'll do tests and post results
Thanks
Attachments
Board2.JPG

mysku82
Posts: 17
Joined: Wed Oct 12, 2011 7:32 am
Location: Bucharest, Romania
Contact:

Re: DROTEK IMU 9DOF Correct orientation HELP

Post by mysku82 »

wilco1967 wrote:
mysku82 wrote:Hello
Returning again to the same problem, correct orientation of the sensors for 2.0 MW rel2, direction of flight to led
Orientation of the 1.9 does not work

I struggled a bit and got it

#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;}

But it works well

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

MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up - OK
MAG_Z and ACC_Z goes down - OK_ACC but MAG goes up

TILT the MULTI forward (tail up):

MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up - OK
MAG_Z and ACC_Z goes down - OK

Rotating the copter clockwise (YAW):

GYRO_YAW goes up - OK

The copter stays level:

MAG_Z is positive ; ACC_Z is positive - OK

Can you help?
Thank you in advance

A great job Alexinparis, continued success of all


Assuming the orientation did not change again after dev20120225, this is what I got. (did not try 2.0 yet).
It is based on the Drotect 9DOF with the soldering pins facing forward.

#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;}



I made ​​the changes proposed by you on axes.
I flight in my house because outside is raining, and I think it's ok. But the GUI is not working as it should.
I will capture desktop GUI and I will post tonight
Thanks

Post Reply