- Sat Apr 08, 2006 8:36 am
#12044
Hi - I just got my micromag3 working yesterday. Can anybody advise on how to interpret the data coming out from it into a useable compass heading? Thanks!
edit: to clarify, my understanding is that to get a compass heading from a 2 axis one you take the arctan of y/x. But that only works when the module is completely flat. I have a 3 axis accelerometer onboard so I guess my question is, how do I couple that with the compass to give an accurate heading at any orientation?
edit: to clarify, my understanding is that to get a compass heading from a 2 axis one you take the arctan of y/x. But that only works when the module is completely flat. I have a 3 axis accelerometer onboard so I guess my question is, how do I couple that with the compass to give an accurate heading at any orientation?