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)

Recording and playing back ROS topics

In general, when we are developing complex robotics systems, not all resources are available all the time because of the cost or time required for preparing and performing experiments. Therefore, it is good practice to record the data of the experiment session for later analysis.

However, the process of saving experiment data and reproducing the experiment offline for development and analysis is not trivial. The ROS development environment provides powerful tools, also known as rosbag, to address such problems. This enables us to reproduce the experiment offline, with its real conditions on the robot such as the latency of transmitting messages being efficient, with a high bandwidth, and in an adequate and organized manner.

In this section, we will discuss how to use these ROS tools to save and playback data that is stored in bag files, a...