What is a subordinate node in ROS 2?

What is a subordinate node in ROS 2?
Image: Intellect (generated)

In short: Learn how subordinate nodes in ROS 2 help organize complex systems by isolating internal components while sharing resources. This improves efficiency and clarity in robotics software.

In ROS 2, a subordinate node is a nested component within a main node that manages its own topics and services but shares the parent node's resources. This allows internal systems, like sensors or algorithms, to operate independently without duplicating infrastructure.

The main benefit of subordinate nodes is reduced overhead. Each full node in ROS 2 requires its own middleware participant and discovery process, which can slow down performance. Subordinate nodes avoid this by reusing the parent node's resources, making the system more efficient.

For example, a robot's main node might create a subordinate node for its camera system. This subordinate node can publish camera data to a topic without needing its own participant, simplifying the overall node graph and improving performance.

Based on: ROS 2 Documentation — Using Subordinate Nodes (C++) — tutorial · Licence: CC BY 4.0 · View source →

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/technology-what-is-a-subordinate-node-in-ros-2.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…