jinorane / sf9domahrs

Automatically exported from code.google.com/p/sf9domahrs
0 stars 0 forks source link

Wrong IMU data read or show #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

i've downloaded the python render on my linux debian box and plugged the IMU 
with a FTDI breakout board.

I've been forced to modify your code and add
    line = line.replace("$","")   # Delete head "$"

since the program was always reporting "Invalid line".

Now i'm able to see the rendered data but it's a little unstable (little 
changes even if left on the table) and above it's wrong:

pitch and roll graphical representation is amplified: 30° real pitch is shown 
as 90°, 45° real pitch as about 140-150°

Yaw/magnetic data is almost fixed to East while rotating the board over the yaw 
axe, but it's value changes (always with excessive angles) if moving the board 
over the roll axe. 

Can someone help find out what's happening?
I've started thinking the board is damaged (even if new)...

May the board be running a old fw version (v22) which isn't compatible with 
python code?

I wish to see my IMU as in the youtube demo video ;D!

Thanks for your support guys!!

Regards
Gianluca

Original issue reported on code.google.com by gianksm...@gmail.com on 13 Jan 2012 at 3:44