Book Image

Learning ROS for Robotics Programming Second Edition

Book Image

Learning ROS for Robotics Programming Second Edition

Overview of this book

Table of Contents (27 chapters)
Learning ROS for Robotics Programming Second Edition
Credits
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Reviewer
About the Reviewer
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Adaptive Monte Carlo Localization


In this chapter, we are using the amcl (Adaptive Monte Carlo Localization) algorithm for the localization. The amcl algorithm is a probabilistic localization system for a robot moving in 2D. This system implements the adaptive Monte Carlo localization approach, which uses a particle filter to track the pose of a robot against a known map.

The amcl algorithm has many configuration options that will affect the performance of localization. For more information on amcl, please refer to the AMCL documentation at http://wiki.ros.org/amcl and also at http://www.probabilistic-robotics.org/.

The amcl node works mainly with laser scans and laser maps, but it could be extended to work with other sensor data, such as a sonar or stereo vision. So for this chapter, it takes a laser-based map and laser scans, transforms messages, and generates a probabilistic pose. On startup, amcl initializes its particle filter according to the parameters provided in the setup. If you...