AMCL odometry and drift question
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?
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?
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.