Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning ROS for Robotics Programming Second Edition
  • Toc
  • feedback
Learning ROS for Robotics Programming Second Edition

Learning ROS for Robotics Programming Second Edition

By : Mahtani, Aaron Martinez
4 (8)
close
Learning ROS for Robotics Programming Second Edition

Learning ROS for Robotics Programming Second Edition

4 (8)
By: Mahtani, Aaron Martinez

Overview of this book

If you have ever tried building a robot, then you know how cumbersome programming everything from scratch can be. This is where ROS comes into the picture. It is a collection of tools, libraries, and conventions that simplifies the robot building process. What’s more, ROS encourages collaborative robotics software development, allowing you to connect with experts in various fields to collaborate and build upon each other's work. Packed full of examples, this book will help you understand the ROS framework to help you build your own robot applications in a simulated environment and share your knowledge with the large community supporting ROS. Starting at an introductory level, this book is a comprehensive guide to the fascinating world of robotics, covering sensor integration, modeling, simulation, computer vision, navigation algorithms, and more. You will then go on to explore concepts like topics, messages, and nodes. Next, you will learn how to make your robot see with HD cameras, or navigate obstacles with range sensors. Furthermore, thanks to the contributions of the vast ROS community, your robot will be able to navigate autonomously, and even recognize and interact with you in a matter of minutes. What’s new in this updated edition? First and foremost, we are going to work with ROS Hydro this time around. You will learn how to create, visualize, and process Point Cloud information from different sensors. This edition will also show you how to control and plan motion of robotic arms with multiple joints using MoveIt! By the end of this book, you will have all the background you need to build your own robot and get started with ROS.
Table of Contents (12 chapters)
close
11
Index

Simulation in ROS


In order to make simulations with our robots on ROS, we are going to use Gazebo.

Gazebo (http://gazebosim.org/) is a multirobot simulator for complex indoor and outdoor environments. It is capable of simulating a population of robots, sensors, and objects in a three-dimensional world. It generates both realistic sensor feedback and physically plausible interactions between objects.

Gazebo is now independent from ROS and is installed as a standalone package in Ubuntu. In this section, we will see how to interface Gazebo and ROS. You will learn how to use the model created before, how to include a laser sensor and a camera, and how to move it as a real robot.

Using our URDF 3D model in Gazebo

We are going to use the model that we designed in the last section, but without the arm to make it simple.

Make sure that you have Gazebo installed by typing the following command in a terminal:

$ gazebo

Before starting to work with Gazebo, we will install ROS packages to interface Gazebo...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete