Skip to Main Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced content levelIntermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

Map

In this section, we will learn how to use the simulated mobile robot to create a map of the virtual world in Gazebo, save it, and load it again. However, getting a useful map can be a complicated task if we are not using appropriate tools. After all, ROS has a tool named map_server (http://wiki.ros.org/map_server) that can help us build a map of the environment by using odometry and a planer range sensor such as a sensor.

First of all, we will create a .launch file in chapter7_tutorials/launch with the name gazebo_mapping_robot.launch and add the following code:

<?xml version="1.0"?><launch><!-- this launch file corresponds to robot model in ros-pkg/robot_descriptions/pr2/erratic_defs/robots for full erratic --><param name="/use_sim_time" ...
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

Advanced Robotic Vehicles Programming: An Ardupilot and Pixhawk Approach

Advanced Robotic Vehicles Programming: An Ardupilot and Pixhawk Approach

Julio Alberto Mendoza-Mendoza, Victor Javier Gonzalez-Villela, Gabriel Sepulveda-Cervantes, Mauricio Mendez-Martinez, Humberto Sossa-Azuela
Effective Robotics Programming with ROS - Third Edition

Effective Robotics Programming with ROS - Third Edition

Anil Mahtani, Luis Sánchez, Enrique Fernández, Aaron Martinez
Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal

Publisher Resources

ISBN: 9781783987443Supplemental Content