Converting MagneticField message to heading in ros
Hi All,
I am looking for any suggestions on converting the magnetic field message in ros to get the robot heading to be used in the navigation function.
if there are predefined libraries in c++ and ros that does it, it would be great.
Thanks.
Do you have any information of the orientation of the sensor, the gravity vector? Or can you assume your robot is always level?
For me, I'd like to know how to do this assuming the robot is level.