I'm using AMCL and it does a good job of estimating my position and accounting for drift, looking at the particles cloud. The odometry is periodically updated from AMCL but then reverts back to the drifted solution. Am I supposed to subscribe to amcl_pose and update my odometry node? or something else?
Originally posted by jseal on ROS Answers with karma: 258 on 2014-09-09
Post score: 0
Original comments
Comment by Sebastian Kasperski on 2014-09-10:
amcl_pose should contain the robots position in the map. So you have to subscribe to this or to tf and get the 'map' -> 'robot' transform. What do you mean with updating the odometry node?
Comment by jseal on 2014-09-10:
My odometry node publishes a transform from base_link to odom, which is still being updated from the drifted odometry. It also publishes a static transform from odom to map.