Book Image

ROS Robotics By Example

Book Image

ROS Robotics By Example

Overview of this book

The visionaries who created ROS developed a framework for robotics centered on the commonality of robotic systems and exploited this commonality in ROS to expedite the development of future robotic systems. From the fundamental concepts to advanced practical experience, this book will provide you with an incremental knowledge of the ROS framework, the backbone of the robotics evolution. ROS standardizes many layers of robotics functionality from low-level device drivers to process control to message passing to software package management. This book provides step-by-step examples of mobile, armed, and flying robots, describing the ROS implementation as the basic model for other robots of these types. By controlling these robots, whether in simulation or in reality, you will use ROS to drive, move, and fly robots using ROS control.
Table of Contents (17 chapters)
ROS Robotics By Example
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Networking the netbook and remote computer


ROS has the ability to allow multiple computers to communicate and share nodes, topics, and services. In the case of TurtleBot, the netbook has limited capabilities for graphics applications, such as rviz. It is better to run rviz and other visualization software on a desktop computer or a powerful laptop, both of which will be called a remote computer here to distinguish it from the netbook that rides along with the TurtleBot.

The approach is to designate one computer in the network to run the ROS Master identified by the ROS_MASTER_URI variable and launch the roscore process from that computer. The choice is to set up TurtleBot's netbook as the Master since many applications of the TurtleBot require autonomous motion without the intervention of the remote computer.

Any other remote computer on the network will have its own IP address as the ROS_IP address but its ROS_MASTER_URI variable will be TurtletBot's netbook IP address.

Types of networks

Networks...