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

Creating a map using SLAM

In this section, we will learn how to create a map of our environment using SLAM. First, however, there are several commands that we have to use to start mapping. You should execute each command in each Linux terminal.

First, we have to start our simulation using the following command:

    $ roslaunch chefbot_gazebo chefbot_hotel_world.launch  

Next, we have to start the keyboard teleoperation node in a new terminal. This will help us move the robot manually using the keyboard:

    $ roslaunch chefbot_gazebo keyboard_teleop.launch  

The next command starts the SLAM in a new terminal:

    $ roslaunch chefbot_gazebo gmapping_demo.launch  

Now the mapping will begin. To visualize the mapping process, we can start Rviz with the ...

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