Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Robot Operating System Cookbook
Robot Operating System Cookbook

Robot Operating System Cookbook: Over 70 recipes to help you master advanced ROS concepts

eBook
AU$36.99 AU$53.99
Paperback
AU$67.99
Subscription
Free Trial
Renews at AU$24.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Table of content icon View table of contents Preview book icon Preview Book

Robot Operating System Cookbook

ROS Architecture and Concepts I

In this chapter, we will discuss the following recipes:

  • Exploring the ROS filesystem
  • Analyzing the ROS computation graph
  • Associating with the ROS community
  • Learning working with ROS

Introduction

In the previous chapter, we learned how to install ROS. Subsequently, in this chapter, we will look into the ROS architecture and concepts along with its components. Furthermore, we will learn how to create and use the ROS components—nodes, packages messages, services, and much more, with examples.

The ROS architecture and design has been divided into three sections or levels of concepts:

  • The ROS filesystem: In this level, a group of concepts is used to explain how ROS is internally formed, the folder structure, and the minimum number of files that it needs to work.
  • The ROS computation graph: In this section, we will see all the concepts and mechanisms which are required to set up the ROS computational network and environment, handle all the processes, and communicate with more than a single computer, and so on.
  • The ROS community: This level is of great...

Exploring the ROS filesystem

The main purpose of the ROS filesystem is to centralize the build process of a project, while at the same time providing enough flexibility to decentralize its dependencies. Nevertheless, the ROS filesystem is one of the important concepts to understand while developing projects in ROS, but, with time and patience, the developer will easily become familiar with it and realize its usefulness in managing complex projects and their dependencies:

ROS filesystem

Getting ready

Similar to an operating system, an ROS filesystem is divided into folders, and these folders have files that describe their functionalities:

ROS package
  • ROS Packages: The ROS software is organized in the form of packages, as...

Analyzing the ROS computation graph

ROS creates a computational network where all the processes are connected. Any process in the system can access this network, interact with other processes, observe the information that they are sending, and transmit data to the network. In general, they perform collaborative computational tasks.

Getting ready

This computation network can be called the computation graph. The basic concepts in the computation graph are ROS nodes, master, parameter server, messages, topics, services, and bags. Each concept in the computational graph has a specific contribution in different ways.

The ROS communication-related packages, including core client libraries, such as roscpp and rospython, and the implementation...

Associating with the ROS community

ROS is a large project that has many ancestors and contributors. The need for an open collaboration framework was felt by many people in the robotics research community. The effort was boosted by countless researchers who contributed their time and expertise to the core of ROS and its fundamental software packages. Throughout, the software was developed in the open using the permissive BSD open source license, and it gradually became widely used in the robotics research community.

The ROS ecosystem now consists of tens of thousands of users worldwide, working in domains ranging from tabletop hobby projects to large industrial automation systems.

Getting ready

The ROS community-level concepts...

Learning working with ROS

In the preceding section, we learned about the basic concept and terminology required to start with the ROS computational network framework. Subsequently, in this section, we will focus mostly on the practical aspect.

Getting ready

Before running any ROS nodes, we should start the ROS master and the ROS parameter server. We can start ROS master and the ROS parameter server using a single command called roscore, which will start three programs by default; ROS master, ROS parameter server, and rosout logging nodes.

How to do it...

It is time for...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • •Delve into an open source, meta-operating system for your robot
  • •Get acquainted with tools and libraries for building and running code on multiple platforms
  • •Use Gazebo to model your robot and create a virtual environment

Description

This book will leverage the power of ROS with an introduction to its core and advanced concepts through exciting recipes. You will get acquainted with the use of different synchronous and asynchronous communication methods, including messages, services, and actions. You will learn how to use the various debugging and visualization tools used in development and how to interface sensors and actuators with the ROS framework. Firstly, you will get to grips with ROS simulation frameworks, such as Gazebo and RotorS for modeling and simulating any physical robot and virtual environment. You will also cover mobile robotics, micro-aerial vehicles, and robotic arms, which are the leading branches of robotic applications. Robot Operating System Cookbook will also guide you in the development of an autonomous navigation framework for both mobile robots and micro-aerial vehicles. Finally, you will explore ROS-Industrial, an open source project that extends the advanced capabilities of ROS software to manufacturing industries.

Who is this book for?

If you’re a researcher or engineer with an interest in the problems, solutions, and future research issues that you may encounter in the development of robotic applications, this book is for you. Basic knowledge of C++ and Python programming with the GNU/Linux environment is strongly recommended to assist with understanding the key concepts covered in the book.

What you will learn

  • Explore advanced concepts, such as ROS pluginlib, nodelets, and actionlib
  • Work with ROS visualization, profiling, and debugging tools
  • Gain experience in robot modeling and simulation using Gazebo
  • Understand the ROS Navigation Stack for mobile robots
  • Configure a MoveIt! package for a manipulator robot
  • Develop an autonomous navigation framework for MAV using ORB SLAM and MoveIt
  • Integrate sensors, actuators, and robots into the ROS ecosystem
  • Get acquainted with the ROS-Industrial package with hardware support, capabilities, and applications

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 29, 2018
Length: 484 pages
Edition : 1st
Language : English
ISBN-13 : 9781783987450
Category :
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Jun 29, 2018
Length: 484 pages
Edition : 1st
Language : English
ISBN-13 : 9781783987450
Category :
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
AU$24.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
AU$249.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts
AU$349.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total AU$ 197.97
Learning Robotics using Python
AU$53.99
Mastering ROS for Robotics Programming
AU$75.99
Robot Operating System Cookbook
AU$67.99
Total AU$ 197.97 Stars icon

Table of Contents

11 Chapters
Getting Started with ROS Chevron down icon Chevron up icon
ROS Architecture and Concepts I Chevron down icon Chevron up icon
ROS Architecture and Concepts – II Chevron down icon Chevron up icon
ROS Visualization and Debugging Tools Chevron down icon Chevron up icon
Accessing Sensors and Actuators through ROS Chevron down icon Chevron up icon
ROS Modeling and Simulation Chevron down icon Chevron up icon
Mobile Robot in ROS Chevron down icon Chevron up icon
The Robotic Arm in ROS Chevron down icon Chevron up icon
Micro Aerial Vehicles in ROS Chevron down icon Chevron up icon
ROS-Industrial (ROS-I) Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
(2 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 100%
1 star 0%
Blaq Surfer Jan 21, 2019
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
This book is completely cloned from the freely available ROS tutorials. Word for word, code for code. Disappointed. If I knew this, I would have just gone with the ROS tutorials instead. DO NOT BUY. Unless of course you would like to donate to charity.
Amazon Verified review Amazon
SingularRiver Feb 04, 2019
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
The content of this book is mostly reproduction of online tutorials including code examples. It may help someone who is new to ROS to follow a structure table of content. But most of the content can be accessed through ROS Wiki.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.