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

amcl_pose vs odom/pose

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

Miguel Velez gravatar image

Hi,

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?

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

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

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
0

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

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

Stats

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

Seen: 2,434 times

Last updated: Sep 13 '16