After building a map of the environment, the next thing we need to implement is localization. The robot should localize itself on the generated map. In this section, we will see a detailed study of the amcl package and the amcl launch files used in Chefbot.
AMCL is probabilistic localization technique for robot working in 2D. This algorithm uses particle filter for tracking the pose of the robot with respect to the known map. To know more about this localization technique, you can refer to a book called Probabilistic Robotics by Thrun (http://www.probabilistic-robotics.org/).
The AMCL algorithm is implemented in the AMCL ROS package (http://wiki.ros.org/amcl), which has an amcl node that subscribes the scan (sensor_msgs/LaserScan ...