liveBook · Manning

ROS

As explained in Robotics for Programmers

ROS 2 is the second-generation ROS robotics middleware framework designed for distributed, real-time, and production-oriented robot applications.

ROS, used here to mean ROS 2, is an open-source robotics framework combining middleware, robot base libraries and services, development tools, reusable capabilities, and an active community. It connects robot applications with sensors, actuators, and algorithms through interoperable software components. section 4.0 section 4.1

A practical ROS system combines:

  • Plumbing: communication protocols, common message types, and drivers for sensors and actuators. section 4.1
  • Tools: RQt and RViz for visualization, Gazebo for simulation, rosbag2 for recording and playback, and ros2 for command-line scripting and introspection. section 4.1
  • Capabilities: ROS-compatible sensing, planning, and acting implementations that serve as building blocks for robot applications. section 4.1
  • Communication concepts: nodes exchange information through topics and services, providing concrete implementations of broader robot software concepts. section 4.0 section 2.0

ROS is useful both for realistic robot development and for learning transferable robotics ideas. Abstract APIs for hardware and software map onto ROS APIs, helping programmers move between ROS and other commercial or open-source robot stacks. section 1.4 section 2.0

Figure 4.1 The ROS equation illustrates how the combination of plumbing, tools, capabilities, and a global community makes the Robot Operating System the most popular open-source robotics software framework. [1]
CH04 F01 bihlmaier ros equation

Use the ROS equation to relate plumbing, tools, capabilities, and community as parts of one robotics framework. section 4.1

How Robotics for Programmers covers it

How deep it goes
Introduces core ROS 2 concepts, nodes, topics, services, and command-line tools while deferring deeper robotics subjects to later implementations.
Examples
Uses robot arms, mobile robots, mobile manipulators, Gazebo simulations, RViz visualizations, rosbag2 recordings, and ros2 command-line tools.
What you can do after
Apply ROS 2 by creating communicating nodes, using topics and services, and operating its command-line tools.
How it connects
Connects middleware with robot software stacks, sensors, actuators, APIs, simulation, visualization, recording, planning, and acting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Robotics for Programmers. The section links point to the parts of the book it draws on.