Phidget IMU Magnetic Heading?
Hello! I am new to ROS so please forgive the simplicity of this question. I am trying to get a Phidget IMU to output a magnetic heading (0-360 deg). I currently have the phidgets_imu package installed which reads linear acceleration, angular velocity, and magnetic field. I am also using imu_filter_madgwick which fuses the data to get the orientation. However, I am not sure how to calculate the magnetic heading from this. The literature on the filter says it outputs a quaternion but then the screen displays the orientation in x, y, z, w. Anyone have some experience with this? Thank you!