Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Implementing AMCL in the Gazebo environment

In this section, we will learn how to implement AMCL in our Chefbot. We will use the following procedures to incorporate AMCL within the simulation. Each command should be executed in each terminal.

The first command starts the Gazebo simulator:

    $ roslaunch chefbot_gazebo chefbot_hotel_world.launch  

Now we can start the AMCL launch file, with or without the map file as an argument. If you want to use a custom map that you have built, then use the following command:

    $ roslaunch chefbot_gazebo amcl_demo.launch map_file:=/home/<your_user_name>/Desktop/hotel  

If you want to use the default map, you can use the following command:

    $ roslaunch chefbot_gazebo amcl_demo.launch  

After starting AMCL, we ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content