GMapping Odometry Question
Hello, I am running GMapping and visualizing the map in Rviz. My fixed frame is set to /map. I am driving the robot around manually and am generating a fairly accurate map. My problem is that the link from odom to base_link seems to be moving in the opposite direction. Base_link remains fixed where at the origin like I expect, but odom moves the opposite direction of the robot. My /odom ends up being no where near where the map is being generated, but the map still looks fine. My /odom is publishing that it is at X=3.28, Y=0.44, theta=-11.128 degrees. However, when I look at its position in RViz for the odom frame, I get X=-0.61441, Y=-0.22086.