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 SLAM in the Gazebo environment

In this section, we will learn how to implement SLAM and apply it to the simulation that we built. You can check the code at chefbot_gazebo/launch/gmapping_demo.launch and launch/includes/ gmapping.launch.xml. Basically, we are using a node from the gmapping package and configuring it with the proper parameters. The gmapping.launch.xml code fragment has the complete definition of this node. The following is the code snippet of this node:

<launch> <arg name="scan_topic" default="scan" /> <node pkg="gmapping" type="slam_gmapping" name="slam_gmapping" output="screen"> <param name="base_frame" value="base_footprint"/> <param name="odom_frame" value="odom"/> <param name="map_update_interval" value="5.0"/> ...
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