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

Difference between localisation with AMCL and SLAM

asked 2016-10-29 10:11:51 -0600

MarkyMark2012 gravatar image

All,

Seemingly dumb question. If I have a SLAM map feeding the Navigation Stack, and therefore localising itself then what purpose does the localisation provided by AMCL provide? Just to localise within the costmaps?

Cheers

Mark

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
3

answered 2016-11-08 04:30:13 -0600

Procópio gravatar image

updated 2016-11-14 04:10:14 -0600

a SLAM algorithm will localize the robot at the same time that it creates the map, possibly changing parts of the maps as it perform loop closures, also the origin of the map will change each time you start the SLAM algorithm.

AMCL will localize the robot at a previously created map, which guarantees that no changes will be done in the map and you will have always the same origin, as it has been previously recorded.

edit flag offensive delete link more

Comments

So if I have an existing map, where the environment of which might change then SLAM so that it can localise then update as necessary?

MarkyMark2012 gravatar image MarkyMark2012  ( 2016-11-14 07:20:20 -0600 )edit

it depends on your application and on how much it changes. In my experience AMCL does a good job even if the environment changes significantly. With SLAM you may find yourself degenerating a good map due to errors in odometry too much dynamic objects, for example.

Procópio gravatar image Procópio  ( 2016-11-17 02:20:52 -0600 )edit

if you can explain us what your use case would be, that might help us to point you the best solution...

Procópio gravatar image Procópio  ( 2016-11-17 02:22:04 -0600 )edit
2

answered 2016-10-29 10:29:18 -0600

spmaniato gravatar image

updated 2016-10-29 10:30:22 -0600

You won't need AMCL at all in such a use case. The SLAM node will be broadcasting the transform from the map frame to the odometric frame. You may have to configure the navigation stack's global costmap a bit differently though.

edit flag offensive delete link more

Question Tools

4 followers

Stats

Asked: 2016-10-29 10:11:51 -0600

Seen: 5,061 times

Last updated: Nov 14 '16