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)

Understanding robot modeling using xacro

In this section, we will discuss xacro, XML macros which define the URDF files in a compact form and makes their readability and maintainability easier. Moreover, this new format allows us to develop the robot model in a modular structure, which can be reused in complex design.

Getting ready

Once again, we are going to build a mobile robot with four wheels and an arm robot with a gripper, like we discussed in the previous section, using xacro instead of the URDF file format. Moreover, we can create each example program in the ROS package in our workspace individually or copy them from the chapter6_tutorials packages in GitHub, which are arm_robot.xacro and mobile_robot.xacro, respectively...