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 the joint state publisher and the robot state publisher

At this moment in time, we have 3D models of robots which can be visualized in rviz. Consequently, in this section, we will learn how to control and move the robot model using the ROS node. The ROS framework provides great tools to control the robots, such as the ros_control package. Similarly, other primary tools to control the robots are the joint_state_publisher and robot_state_publisher packages.

Getting ready

Like we did in the previous section, we can create each example program in the ROS packages in our workspace individually in the robot_description/src folder with the names mobile_state_publisher.cpp and arm_state_publisher.cpp, or copy them from...