Book Image

Robot Operating System Cookbook

By : Kumar Bipin
Book Image

Robot Operating System Cookbook

By: Kumar Bipin

Overview of this book

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.
Table of Contents (12 chapters)

Sending goals

We have played around with the robot by moving it around the map using RViz and its interface. Although it is interesting and fun, it's a little tedious and not very functional.

Getting ready

Alternatively, we can program a list of waypoints and send them to the robot with only the press of a button, even when we are not in front of a computer with RViz. In this section, we will learn how to do this by using actionlib. We already discussed actionlib in Chapter 3, ROS Architecture and Concepts - II.

However, actionlib has a very similar interface to services, but if the server is taking a long time to process the request, the client can cancel the request during execution. In addition, it will also be receiving...