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

amcl_pose vs odom/pose

asked 2016-09-11 14:22:00 -0500

Miguel Velez gravatar image


What is the difference between amcl_pose and odom/pose? I am running the gazebo simulator and making the turtlebot go from one point to another. The task completes without any issues. However, the pose values in each of these topics do not match. They are sort of close, but are definitely not THAT close. Is it one the REAL position of the turtlebot and the other one where the actual robot thinks it is?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-09-11 22:19:28 -0500

Shay gravatar image

Well, /odom/pose is the relative pose, /amcl/pose is the absolute pose.

The odometry knows how far your robot has gone and how much the angle of rotation, and calculate the position and orientation for you. But odometry is only right for a short time because of slipping and accumulated error.

amcl uses a particle filter to track the pose of a robot against a known map. amcl gets the absolute or global pose of the robot and fix the tf map->odom to make the robot pose right. You can consider amcl as the REAL pose. And amcl is responsible to fix the error of odometry.

edit flag offensive delete link more

answered 2016-09-13 09:57:56 -0500

asimay_y gravatar image

amcl_pose is based on laser calculation, it is reflected in map frame. and odom/pose is based on your odometry source, it always in odom frame.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-09-11 14:22:00 -0500

Seen: 2,275 times

Last updated: Sep 13 '16