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)

Setting up RViz for the navigation stack – visualization

It will always be good practice to visualize all possible data and topics that the navigation stack has used. In this section, we will discuss configuring RViz to visualize the data sent by each of these topics and examine their correctness.

Getting ready

We will run the following commands in two separate terminals to start the navigation stack with our simulated mobile robot in Gazebo, with the map of the virtual environment and the RViz tool for visualization:

$ roslaunch chapter7_tutorials chapter7_configuration_gazebo.launch
$ roslaunch chapter7_tutorials move_base.launch

As seen in the previous section, we will get the same window that was shown in the preceding...