An independent field manual for physical AIRev. 2026.12 · 7 chapters · 40 articles
Physical AI Handbook

What is ROS 2? The Robot Operating System, explained

What the Robot Operating System is, how ROS 2 nodes, topics, services and actions work, which distributions are current, and where its limits are.

Key takeaways01 / Foundations
  • The Robot Operating System (ROS) is not an operating system: it is open-source middleware, tools and libraries that run on top of Linux or Windows and let the separate programs on a robot exchange data.
  • A ROS 2 system is a graph of nodes that communicate through topics for continuous data streams, services for quick request-and-reply calls and actions for long-running goals that report feedback and can be canceled.
  • ROS 1 reached end of life on May 31, 2025, when support for its final release, Noetic, ended; new robot software should be built on ROS 2.
  • As of December 2026, the latest ROS 2 release and current long-term-support distribution is Lyrical Luth, released May 22, 2026, and supported until May 2031.
  • ROS 2 moves data between a robot's software components, but it is not a safety-certified platform and does not make code real-time on its own, so safety functions belong on a separate safety-rated controller.

The Robot Operating System (ROS) is an open-source set of software libraries, communication middleware and developer tools for building robot applications. Despite the name, it is not an operating system: it runs on top of one, usually Ubuntu Linux, and gives the many programs on a robot a standard way to exchange data. ROS 2 is the current generation. ROS 1 reached end of life on May 31, 2025, and as of December 2026 the latest ROS 2 release is Lyrical Luth, a long-term-support distribution.

This article covers how ROS 2 works, which distributions are current, who governs it, and where it sits next to the learned models described in the physical AI pillar.

What the Robot Operating System is, and is not

The project’s own documentation is direct on the point: ROS is not an operating system in the traditional sense. It is a set of tools and libraries that help developers build robots across different platforms and programming languages. The Linux or Windows kernel underneath still schedules processes, manages memory and talks to hardware.

What ROS adds falls into three layers:

  • A framework, often called the plumbing. It carries messages between parts of a robot, for example from a camera driver to a perception program, or from a planner to a motor controller. It also defines standard message formats so software from different authors fits together.
  • Tools for building, launching, inspecting, recording and visualizing a running system. Recording and replaying data is one of the most used: the ros2 bag tool subscribes to chosen data streams and stores them without disturbing the rest of the system.
  • Capabilities, meaning reusable packages for common robot functions. The large community projects include Nav2 for mobile robot navigation, MoveIt for manipulation and motion planning, ros2_control for robot control, and micro-ROS for microcontrollers.

ROS began in 2007, and ROS 2 was a ground-up redesign: its first alpha releases appeared in 2015 and its first named distribution, Ardent Apalone, in December 2017. The code is open source. Core packages typically use the Apache 2.0 license, which permits commercial use.

How ROS 2 works: nodes, topics, services and actions

A ROS 2 system is a set of nodes. A node is one program, or one component inside a program, that handles a specific task such as reading a lidar, estimating the robot’s position or driving a motor. The network of nodes and their connections is called the ROS graph. Nodes can sit in the same process, in different processes or on different computers, and can be written in different languages. The two main client libraries are rclcpp for C++ and rclpy for Python.

Nodes talk to each other through three kinds of interface.

Interface Pattern Use it for Example
Topic Publish/subscribe; any number of publishers and subscribers Continuous data streams Camera images, joint states, velocity commands
Service Request and reply (a remote procedure call) Quick computations where the caller waits for the result Asking a node to reset a map or report a setting
Action A long-running goal with progress feedback that can be canceled Tasks that take seconds or minutes Navigating to a waypoint, moving an arm along a planned path

Topics are the workhorse. A publisher sends typed messages to a named topic, and every subscriber to that name receives them. The system is anonymous: a subscriber does not generally know or care which node published the data. A camera driver can be swapped for a simulated camera, or a logging node added, without changing any other node.

Services are meant to return quickly. The ROS documentation warns against using them for long-running work, which is what actions are for. A navigation action, for example, accepts a goal, reports how far along the robot is, and lets the caller cancel the trip.

Nodes also expose parameters, which are settings that can be read and changed at runtime, such as a maximum speed.

Quality of service

Each publisher and subscriber carries a quality of service (QoS) profile that tunes how messages are delivered. A sensor stream over lossy Wi-Fi may be set to best-effort delivery, where dropping an old frame is better than waiting for it. A command that must arrive may be set to reliable delivery. Publishers and subscribers with incompatible profiles will not exchange messages, a common source of confusion for newcomers.

What DDS has to do with ROS 2

ROS 2 does not implement its own network transport. It sits on a pluggable middleware layer that handles discovery, serialization and transport. The original and still most common choice is DDS (Data Distribution Service), an industry standard published by the Object Management Group and implemented by several vendors.

DDS gave ROS 2 two things ROS 1 lacked. Discovery is distributed, so nodes find each other automatically with no central server to fail. And transport is configurable through the QoS settings above, where ROS 1 mainly supported TCP.

ROS 2 talks to the middleware through an abstraction called the RMW (ROS middleware) interface, so the implementation can be swapped. As of December 2026, the documentation lists these options:

Middleware License Support status
eProsima Fast DDS Apache 2.0 Full support; the default
Eclipse Cyclone DDS Eclipse Public License 2.0 Full support
RTI Connext DDS Commercial or research license Full support; installed separately
GurumNetworks GurumDDS Commercial Community support
Eclipse Zenoh Eclipse Public License 2.0 Full support; packaged since Kilted Kaiju (2025)

Zenoh is the notable newcomer because it is not DDS. The ROS documentation describes it as a lighter alternative suited to difficult network conditions. Nodes using different middleware are not guaranteed to communicate with each other, so a fleet should standardize on one.

ROS vs ROS 2: what changed

ROS 1 is finished. Noetic Ninjemys, its last release, reached end of life on May 31, 2025, and the ROS 1 source repositories are archived. No further features, bug fixes or security updates are being published by the ROS team. Canonical sells extended security maintenance for teams that cannot migrate yet, but new projects should not start on ROS 1.

ROS 1 ROS 2
Status (December 2026) End of life since May 31, 2025 Active; yearly releases
Discovery Centralized Distributed, handled by the middleware
Transport Mainly TCP DDS or Zenoh, with configurable quality of service
Real-time use Not a design consideration Designed with real-time constraints in mind

Code written for ROS 1 does not run on ROS 2 unchanged. The concepts carry over, but the client library APIs, build system and launch files differ, so migration is a porting project.

ROS 2 distributions: which one is current?

A ROS 2 distribution is a versioned, stable set of ROS packages, comparable to a Linux distribution. A new one is released each year on or around May 23. Releases in even years are long-term support (LTS) and are supported for about five years, matching the Ubuntu LTS they target. Releases in odd years are supported for 18 months.

As of December 2026, the official distribution list shows:

Distribution Released End of life Notes
Lyrical Luth May 22, 2026 May 2031 Latest release and current LTS; targets Ubuntu 26.04
Kilted Kaiju May 23, 2025 November 2026 Non-LTS; reached end of life and is marked EOL in the ROS documentation
Jazzy Jalisco May 23, 2024 May 2029 LTS; targets Ubuntu 24.04
Humble Hawksbill May 23, 2022 May 2027 LTS; six months of support left
Makoa Mata-mata Planned for May 2027 Planned for December 2028 Next release, non-LTS

There is also Rolling Ridley, a continuously updated development distribution that can receive breaking changes. The project recommends that most users stay on the latest stable distribution instead.

Three practical points follow.

  1. Choose by dependencies, not only by date. A robot arm’s driver, a camera SDK or a simulator bridge may lag the newest distribution by months. The robot simulators comparison lists which Gazebo release pairs with each distribution.
  2. Plan around Humble’s retirement. Teams still on Humble have until May 2027 before updates stop.
  3. Do not mix distributions on one robot. Nodes built against different distributions are not guaranteed to communicate.

Who governs ROS?

Since 2024, ROS 2 has been governed by the Open Source Robotics Alliance (OSRA), an initiative of the nonprofit Open Source Robotics Foundation (OSRF), which also uses the name Open Robotics. OSRA was announced in March 2024 as a membership organization in the style of other open-source foundations, funded by member companies.

A Technical Governance Committee oversees all OSRA projects, which include ROS, the Gazebo simulator and Open-RMF. Day-to-day decisions for ROS 2 are made by the ROS Project Management Committee, whose members and committers are chosen on merit. As of December 2026, the OSRA website lists Canonical, Intrinsic, NVIDIA and Qualcomm as its top-tier (platinum) members.

One piece of history still causes confusion. In December 2022, Intrinsic, a robotics software company then held directly by Alphabet and part of Google since February 2026, acquired Open Source Robotics Corporation, the foundation’s for-profit subsidiary. It did not acquire ROS. The foundation kept the open-source intellectual property and the governance of the projects.

For a US buyer or engineer, the practical meaning is that no single vendor controls ROS 2 and no license fee is owed for using it.

Where ROS 2 fits next to learned robot models

ROS 2 and a learned policy solve different problems. A vision-language-action model decides what the robot should do. ROS 2 is one way to carry camera images to that model and its output to the motors.

In a typical ROS 2 robot running a learned policy, driver nodes publish camera images and joint states on topics, a policy node subscribes to them and runs inference on the robot’s AI computer, and a control framework such as ros2_control turns the output into joint commands at a higher rate. The split between the AI computer and the real-time control computer is covered in the guide to onboard compute for robots.

The two worlds are getting closer. Lyrical Luth added rosidl::Buffer, a buffer type for byte-array message fields that lets large payloads such as images stay in GPU memory instead of being copied to the CPU and back between nodes. The ROS feature list still marks it experimental. NVIDIA says it worked with OSRA to contribute that interface, and its Isaac ROS 5.0 release, announced in September 2026, added support for Lyrical. Hugging Face’s LeRobot library, widely used to train and run robot policies, lists community-maintained ROS 2 bridges among its hardware plugins, and ROBOTIS has published an open-source SDK that connects LeRobot policies to its hardware through ROS 2 and Zenoh.

ROS 2 is not required, though. LeRobot, for example, is a Python library that can drive its supported robots directly. In the handbook’s editorial judgment, ROS 2 matters most where a robot is assembled from many third-party parts: sensors, arms, mobile bases and simulators almost always ship with ROS 2 drivers, and that ecosystem is expensive to rebuild. Mobile robots lean on it especially hard for navigation and sensor fusion, the subject of lidar vs cameras for mobile robots.

What are the limits of ROS 2?

It is not real-time by itself. ROS 2 was designed with real-time constraints in mind, but the project’s feature list still describes real-time support as preliminary. Meeting hard deadlines depends on the whole chain: a real-time operating system or a Linux kernel built with PREEMPT_RT, code that avoids memory allocation and blocking calls in the control loop, and middleware configured to match. Frameworks such as ros2_control exist for this, but the engineering is the integrator’s job.

It is not safety certified. The open-source distributions carry no functional safety certification. Certified products exist around the edges: Apex.AI states that its Apex.OS Cert, a derivative of ROS 2, was certified by TÜV NORD to ISO 26262 ASIL D, the top automotive level, and RTI sells a certified DDS variant, Connext Cert. Those are separate commercial products; ROS 2’s documentation notes that it supports only RTI’s standard version.

On industrial and service robots, the usual answer is architectural. Emergency stop, protective stop and speed or force limits run on a separate safety-rated controller, built to a required ISO 13849 performance level, so that no fault in a ROS 2 node can disable them. The explainer on safety PLCs and safety controllers covers that hardware. This article is not compliance advice; check the applicable standard itself.

Security has to be configured. ROS 2 can authenticate nodes, encrypt traffic and enforce access control through DDS-Security, using the SROS2 tools. None of that protects a robot whose integrator never set it up.

Releases expire. The yearly cadence means a deployed fleet needs a planned upgrade path, which belongs in the maintenance plan of any robot deployment. More terms are defined in the glossary.

Frequently asked questions

Is ROS an operating system?

No. Despite the name, the Robot Operating System is a set of software libraries, communication middleware and developer tools that runs on top of a conventional operating system, most often Ubuntu Linux. It handles messaging between a robot's programs and supplies tools for building, launching, recording and visualizing them. The operating system underneath still schedules processes and talks to hardware.

What is the difference between ROS and ROS 2?

ROS 2 is a redesign of the original ROS, usually called ROS 1. ROS 1 relied on centralized discovery and mostly TCP transport; ROS 2 uses distributed discovery and configurable quality of service through DDS or Zenoh middleware, supports security through DDS-Security, and was designed with real-time use in mind. ROS 1 reached end of life on May 31, 2025.

Which ROS 2 distribution is best for a new project?

As of December 2026, the ROS project recommends the most recent stable distribution, which is Lyrical Luth, a long-term-support release supported until May 2031. Jazzy Jalisco (supported until May 2029) and Humble Hawksbill (until May 2027) are still supported and remain common where vendor drivers or tools have not yet moved to Lyrical. Kilted Kaiju, the 2025 non-LTS release, reached end of life in November 2026. Check that every driver and package the robot needs is released for the distribution before choosing.

Is ROS 2 free for commercial use?

Yes. ROS 2 is open source, and its core packages typically use the permissive Apache 2.0 license, which allows commercial use. Individual community packages and some middleware options, such as RTI Connext DDS, carry their own licenses, so each dependency should be checked.

Is ROS 2 safety certified?

The open-source ROS 2 distributions are not safety certified. Commercial products derived from or compatible with ROS 2 have been certified to automotive functional safety standards, for example Apex.OS Cert to ISO 26262 ASIL D. On industrial and service robots, safety functions such as emergency stop normally run on a separate safety-rated controller, not in ROS 2 nodes.

Sources

  1. ROS 2 Documentation source: About ROS — ros2/ros2_documentation on GitHub
  2. ROS 2 Documentation source: Project governance — ros2/ros2_documentation on GitHub
  3. ROS 2 Documentation source: Features status — ros2/ros2_documentation on GitHub
  4. Robot Operating System 2: Design, architecture, and uses in the wild — Macenski, Foote, Gerkey, Lalancette, Woodall, Science Robotics (2022)
  5. ROS Noetic End-of-Life: May 31, 2025 — Open Robotics Discourse
  6. The Open Source Robotics Alliance — Open Source Robotics Alliance
  7. Intrinsic Acquires OSRC and OSRC-SG — Open Robotics (December 15, 2022)
  8. LeRobot repository README — Hugging Face
  9. ROS 2 ISO 26262 certification and thank you — Apex.AI, on ROS Discourse
  10. RTI Connext Cert — Real-Time Innovations