How can I visualize magnetometer data in Rviz?
Hi, I am using a magnetometer plugin (libuuv_gazebo_ros_magnetometer_plugin.so) from UUV Simulator in Gazebo and it delivers sensor_msgs/MagneticField messages. In order to see if it is working (well, I've already echoed the topic and it is indeed working), but I would like to have a way to visualize it in Rviz so that the data is easily understandable.
A general view of what I wanted to do is to provide a way for the robot to know the North direction and I am assuming using the magnetometer is the best way to do that. Opinions are welcome.