1st message and 1st mistake : I was posting in Chris Anderson's blog !! Repaired by this new discussion ...>>

Hello everybody.
First, felicitations for a such interesting forum, and happy new year 2010 !

I am a futur new 9DOF-razor user, from France.

I will be a brand new IMU user, but already familiar with airborne electronic equipments (my job !) and with flying hobbies (20 years of practice -and crash !!!- in gliders, F5B, engined & electric helicopters, ...)

I 've just bought my 9DOF-Razor board and waiting for it (*) , with its FTDI basic breakout 3.3V interface, and a Locosys LS20031 GPS.

My preliminary goal is to learn its sensors way of work, and pratice step by step their associated algorithms.
In a second time, may be an "home made" quadrocopter, with flight plan GPS assisted, RTH, ....


But I already have few short questions :

1. I have equipped my PC with AVR studio :
==> is it compatible with the FTDI interface for code download ?

2. I have started to compile the code provided in SparkFun 9DOF-board page. Few libs are missing
(types.h , defs.h , i2c.h , ...)
==> are they standard or attached to another compilation tool (arduino, Win AVR, ...)

Thanks a lot for your help, and best regards,
Gilles



(*) I have just received the boards !!!
So my gift for the New Year : a picture of my equipment... (scale is cm, and 1 euro coin)

Views: 2608

Attachments:

Reply to This

Replies to This Discussion

hi Gilles,

 

thank you for the code. I tested it and it works fine.

But, the yaw values are so weird. They keep changing from positive to negative values and vice versa although i did't touch the board. Do you know why? Hpw should i edit it?

I attached the screenshot for the error value2. Icircled it with red ink.

-Thanx in advance-

Attachments:

It is not a problem of changing sign, it is only a problem of normal "noise" on the yaw value, but occuring close to 180°.

And -180°=180°, so if yaw is yelding between 178 to 182°, it will look blinking between 178° and -178°.

 

Just turn the board, and check if you still have changinging sign (for instance around a yaw of 90°)

 

Gilles

 

oh, you are right!! sorry.. =)

 

Any idea why the value is jumping gradually for yaw angle from 20° to 1++° although i didn't touch the board??

 

thanx again Gilles =)

In your error2 file, it works ok.

 

In the previous error file, it was ko. I presume there is a bug in your program. You have the example of my prog that is working, so try to compare and identify the bug in yours.

It is impossible to imagine where does your bug come from.

 

But, did you check if your code correctly cancels DCM offsets with the magnetometer ?

 

Gilles

 

 

Hi there,

 

I have a short question. I'm trying to use your AHRS code with the 9DOF sensor stick of Sparkfun. I already changed the data acquisition (sensor stick has an ITG3200). Now, my problem is to figure out which axis directions you need for the algorithm. Should all the axis be aligned for the calculation? (ACC, Gyro and Mag). I only ask, because when looking at the picture of the 9DOF board on Sparkfun, it seems that the Gyro axis are reversed compared to the ACC, but where do you actually change the order?

 

Thanks in advance,

Martin

Hi there,

 

I have to answer my own question ;). I found the corresponding lines in the source code and switched the values according to my setup. And now, the data looks very good. Roll and Pitch angle are almost independent (except a little influence ;) ). Last thing, I have to repair is the yaw angle. It is pretty much influenced by the other two angles. Can I repair that with the calculation? (maybe there is still something wrong with the Z-Axis alignment) Or is this behaviour more or less normal :) ?

 

Ah, forgot one point. Tried out the python GUI. It is really slow on my windows 7 machine? Anyone else got this? The output is at least 10 seconds delayed when tilting my frame....

 

Thanks in advance,

Martin

RSS

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.

A list of all T3 contests is here

 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service