DanielJAlexander / ardupirates

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

magnetometer problem #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do mag calibration
2. initialize mag
3. read mag

What is the expected output? What do you see instead?
Instead of getting deviation from the north, the "yaw" angle displays an 
initial value and when airframe moved, the yaw deviates but goes back to the 
same initial value

What version of the product are you using? On what operating system?
last one on Mac

Please provide any additional information below.
I am trying to modify the code to perform fuzzy logic control. Haven't been 
able to find what the problem is. I am using the CalibCompass function from the 
CLI to get offstets, once I get them I initialize the compass and do the IMU 
routine with the DCM matrix. Pitch and Roll angles are working fine, but can't 
get the yaw angle

Original issue reported on code.google.com by egb...@gmail.com on 9 Jul 2011 at 11:52