ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I haven't tried that exactly, but I have worked with multiple source of heading information using robot_localization. You'd have to make sure your GPS driver (or some other node) converts your GPS heading data into a PoseWithCovarianceStamped message. You may also want to either stop sending GPS-sourced heading messages when the vehicle is at rest, or dynamically modify the covariances of the heading sensors based on your current state (moving, turning, resting, etc.). I'd also suggest turning relative mode on for both heading sources.

What is causing the compass interference? Is it distortions from the metal and electronics on board your robot, or is it due to external sources?