Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Robot Operating System 2: Design, Architecture, and Uses In The Wild

ROS 2 replaces ROS 1's TCP transport with DDS for reliable robots

  • Problem ROS 1 was built for research, not production. It runs on TCP/IP and a central name server, so it struggles over lossy wireless links and has a single point of failure.
  • Method ROS 2 builds on the DDS standard instead of ROS 1's own protocol. Its rmw layer hides the middleware, so users can swap it without code changes.
  • Results Intra-process communication was the most efficient path, keeping 95th percentile latency below 1 millisecond for messages below 8 MB.

Where ROS 1 hit its limits

ROS 1 spread into nearly every intelligent machine sector, yet its foundation was built for research rather than production. Security, network topology, and uptime received little priority, so commercial products exposed those gaps. Companies responded by building workarounds on top of or inside ROS 1 to reach reliable applications.

ROS 1 runs on TCP/IP, which struggles on wireless links because interruptions cause back-offs, retransmits, and delays. ROS 1 uses its own bespoke protocol, while ROS 2 adopts the existing DDS standard. The central name server, rosmaster, became a single point of failure. Fixing that meant patching every existing client library by hand with bespoke solutions.

The SROS project added security to ROS 1, but it was hard to maintain. It also needed further development to keep up with security trends. These patches extended ROS 1's useful lifetime but didn't solve its core limitations. Lossy links such as WiFi or satellite links remained a weak spot for ROS 1. Those limits made a ground-up redesign, ROS 2, the necessary next step.

DDS as the transport, rmw as the seam

The authors picked DDS over alternatives such as ZeroMQ and RabbitMQ because it combines a UDP transport, distributed discovery, and a built-in security standard. ROS 1 struggled with lossy links because its transport was built on TCP/IP, which stalls when packets are lost. DDS uses UDP and doesn't retransmit by itself, so it decides when and how to retransmit in unreliable conditions.

Above DDS sits rmw, the middleware abstraction layer that exposes the essential communication interfaces. Vendors implement the rmw interface, so users can choose a different middleware without code changes. The client libraries sit on rcl, a C library that holds the functionality they share, although using it isn't required. All supported rmws are based on DDS today, but a few community-supported rmws use other communication methods.

Because the APIs stay fixed while the middleware changes, the system can evolve with minimal impact on applications built atop it.

Security comes from DDS-Security, which covers authentication, encryption, and access control. SROS2 adds command-line utilities that generate and store digital signatures and access control configurations. QoS settings then control how data flows, so reliability and history decide what happens when the network can't keep up. Best-effort delivery suits sensor data, because a new sample makes the old one obsolete.

Reliable delivery keeps sending data until the receiver acknowledges receipt, so it suits data that can't be lost.

Topics, services and actions

Topics are the pattern users meet most often, because they carry asynchronous message passing. ROS 2 pairs topics with strongly typed interfaces, so both ends agree on the message structure. Topic endpoints sit in a computational graph under a node, which lets a developer reason about a complex system. Because the publish-subscribe architecture is anonymous, many-to-many communication is possible on one topic.

A developer can add a subscription to a topic to watch its messages without changing the system.

A service client sends a request and receives a response that is paired with that request. That pairing makes it easy to confirm that a task was completed or received. Unlike a topic, the client's process isn't blocked while the call is in progress. Services sit under a node too, so a subsystem's interfaces appear together in system diagnostics.

Actions are goal-oriented and asynchronous, which suits work that runs for a long time. An action client makes a request, gets a response, receives periodic feedback, and can cancel the goal. Autonomous navigation and manipulation are the typical long-running tasks that use actions. Like services, actions don't block the caller and stay organized under the node.

Figure 1 shows the topics, services, and actions side by side as node interfaces.

Topics put no reply on the subscriber, so the sender never waits for an answer. Services and actions both ask the receiver for a response, with actions adding feedback and cancellation on top.

Latency and send rate across message sizes

The benchmark runs one publisher and one subscription, so each message size measures a single link. For every size, the system sends 1,000 messages per second and logs latency, effective publication rate and CPU use. Each run happens in three arrangements: separate processes, one shared process, and one process using intra-process communication.

Intra-process communication gives the lowest cost, keeping 95th percentile latency below 1 millisecond for all sizes below 8 MB. It also meets the sending rate for every size below 8 MB. The path skips the middleware and passes pointers from publisher to subscription, so its advantage grows near 1 MB and larger. Those sizes match images and point clouds, the high-resolution data that often moves through robots.

Node composition shows a similar result, with 95th percentile latency below 1 millisecond and no dropped messages below 8 MB.

Inter-process communication lets publisher and subscriber sit on separate machines, and it shows the highest latency. Its latency stays below 1 millisecond until 1 MB, then climbs to 7.85 milliseconds at 8 MB. The 95th percentile send rate holds at 1000 Hz up to 2 MB, then drops to 213 Hz at 8 MB. Inter-process is the most flexible option, but it also carries the highest CPU use.

Node composition and intra-process communication both cut latency, CPU use and sending rate costs significantly. The authors call composition the recommended design pattern in ROS 2. Default DDS settings handle data above 1 MB poorly, due to small default UDP buffers, UDP fragmentation limits and retransmission under reliability. Tuning the networking parameters can remove many of these issues, but it spends more compute resources.

For small messages, every mechanism published above 1kHz without loss.

Delivery under packet loss

The authors emulated the network with mininet, which can set arbitrary topologies and link properties. They capped bandwidth at 54Mbps, a rate comparable to a slow wireless network, and varied packet loss from 0 to 20 percent. The test ran the CycloneDDS rmw on an Ubuntu 20.04 virtual machine with 6 Intel Xeon E5-2666 v3 CPUs at 2.9GHz. One publisher and one subscription node ran in separate processes, and each message held an array of 1000 bytes.

The test tallied how many messages reached the subscription at each loss level.

TCP struggles on wireless links because interruptions trigger back-offs, retransmits, and delays. DDS sends its data over UDP and doesn't retransmit on its own. Instead, DDS itself chooses when and how to resend packets when conditions are unreliable. The reliability QoS setting controls whether delivery is guaranteed, with best-effort and reliable as the two options.

At moderate loss, ROS 2 still delivers data over the network effectively. The authors call 20 percent loss a particularly bad environment, and they expect performance to drop more significantly there. The authors note that tuning networking parameters can remove many issues with large messages, but it costs compute resources.

Ghost Robotics and Mission Robotics

The case studies are qualitative and draw on interviews, customer experiences and codebases, so they describe use rather than measure performance. Ghost Robotics runs ROS 2 on an Nvidia Jetson Xavier for mission execution, gait planning, terrain mapping and localization. About 90% of its software uses ROS 2 for communication and architecture.

Its mission software uses lifecycle nodes that switch features on and off per mission, such as moving between GPS and VIO localization. Component nodes are built by separate teams and combined at run time, which the company found useful on a limited-compute platform. Ghost reports 23 employees as of August 2021 and about 30 engineer-years to release Vision-60 to customers.

Mission Robotics keeps its core on-robot software off ROS 2 and uses ROS 2 as the common data bus for its sensors. A new sensor gets a device driver that publishes over ROS 2 inside a Docker container. Working with Aqualink, Mission added a Zed stereo camera to a Jetson Nano, which had out-of-the-box ROS 2 drivers.

Auterion simulation and VIPER code reuse

Auterion uses simulation because a failed drone flight risks the airframe and people on the ground. Every physical flight carries a risk of crashing, while a failure in simulation can be fixed and rerun quickly. Auterion uses Gazebo to run end-to-end tests of its software before hardware testing validates safe functionality. Gazebo runs in Auterion's continuous integration pipeline to prevent regressions across an array of vehicle types and scenarios.

Tests run in parallel, so developers can focus on one specific problem and still trust that the software is safe.

In 2021, Auterion flew approximately 22,000 hours within Gazebo, including high-risk scenarios that are impractical to test with hardware. Its airframes cost $1,000 to $100,000, so any test in dangerous flight conditions carries considerable risk. ROS 2 simulations in development and validation combine to lower costs and speed up development.

VIPER relied on Gazebo to test and validate almost all of its rover software before launch, because the lunar environment can't be reproduced on Earth. VIPER reused 284,500 significant lines of code (SLOC) from Gazebo without modification, modifying under 1% to pass validation. NASA's estimated development rate for the simulator was 116 SLOC per work-month, so reuse let the team produce its simulation in 266 work-months.

VIPER also reuses heritage code, because NASA prefers components vetted in previous missions to cut development time and cost. The VIPER team chose DDS for its ability to traverse satellite links with high latency, low bandwidth, and low reliability.

Scaling OTTO Motors past 25 robots

OTTO Motors started on ROS 1, and its custom multi-master system couldn't test more than 25 robots on one shared network. That limit was fine for small fleets, but it became a bottleneck as OTTO moved into larger facilities. OTTO surveyed the available technologies and reached the same conclusion on its own: DDS was the best fit for fleet communications.

The wider network effect kept OTTO in the ROS ecosystem, so it became one of the early adopters of ROS 2. Adopting ROS 2 meant OTTO didn't have to maintain a proprietary DDS framework of its own.

After migrating, OTTO scaled up to 100+ robots in customer facilities. The authors credit ROS 2's fine-grained and scalable network topology management for this larger scale. Better QoS support for managing bandwidth on shared network links also played a part. These deployments, in 2017, were among the first commercial deployments of ROS 2 anywhere in the world.

OTTO estimates it has saved between $1M to $5M over 5 years by using ROS 2. It also avoided rewriting these tools into a proprietary framework, saving hundreds of engineering hours.

The distributed architecture and process isolation let a large, physically distributed team collaborate on OTTO's internal features. OTTO and Clearpath also sell platforms that customers build on, and ROS 2 support has proven valuable to them.

What the case studies share

Across the five case studies, the authors see three recurring themes: software reuse, collaboration, and selling trusted platforms. Mission Robotics draws on the ROS community's device drivers, so its customers can adapt quickly to marine use cases. Auterion takes both lower-level drivers and higher-level algorithms from the community. The VIPER team found it hard to get other NASA groups to reuse code, though the ROS ecosystem's name recognition helps.

Ghost Robotics and OTTO Motors use interfaces and composition nodes so that teams can work without knowing the details of other subsystems. Mission Robotics and Auterion build custom solutions collaboratively with their customers on top of ROS 2. Freely available licensing and a wide pool of ROS expertise let these companies sell platforms into bespoke applications quickly.

The authors tie these themes to the Distribution, Abstraction, and Modularity principles from Section III-B.1. They argue that following those principles produced the themes they observed in the studies. The authors consider these themes among the largest acceleration factors for robotics today. The analysis is principally qualitative, drawn from interviews, customer experiences, and codebases.

That link is the authors' reading of the interviews, not a controlled test. The case for ROS 2 as an accelerator therefore rests on the deployment narratives rather than a measured comparison.

Limits of the evidence

The authors ran one publisher and one subscription at each message size, sending 1,000 messages per second on a single machine. Their charts cover only the message sizes they list, so performance between those points is unmeasured. Intra-process communication keeps 95th percentile latency below 1 millisecond for sizes below 8 MB, while multi-process latency reaches 7.85 milliseconds at 8 MB.

Default DDS settings perform poorly above 1 MB, and the authors name small default UDP buffers, UDP fragmentation limits, and retransmission as causes. The authors say that fixing this means tuning networking parameters, which costs compute resources.

The packet-loss test used a different setup, an Ubuntu 20.04 virtual machine with mininet emulating the network. That test capped bandwidth at 54Mbps and varied loss only from 0 to 20 percent, using 1000-byte messages. The authors don't test other networks, message types or loss patterns, so those cases remain outside the evidence.

The five case studies rest on a qualitative analysis of ROS 2's influence, drawn from interviews, customer experiences and codebases. OTTO Motors' own estimate puts its savings between $1M to $5M over 5 years. Auterion's estimate that simulation replaced 12 full-time engineers is likewise the company's own figure. ROS 2 had not been used in prior NASA missions.

The VIPER team accepted the extra administrative overhead of flight qualification to adopt it anyway. Ghost's estimate that a similar autonomy system would take many years from scratch is also the company's own figure.

Paper info

Authors
Steve Macenski, Tully Foote, Brian Gerkey, Chris Lalancette, William Woodall
Venue
arXiv · Preprint
First published
2022-11-14
Added
2026-11-12
Updated
2022-11-14
Version
v1
arXiv
2211.07752
DOI
10.1126/scirobotics.abm6074
Category
cs.RO
Original paper terms
CC BY-SA 4.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Steve Macenski, Tully Foote, Brian Gerkey, Chris Lalancette, William Woodall (2022). Robot Operating System 2: Design, Architecture, and Uses In The Wild. arXiv:2211.07752v1. https://doi.org/10.1126/scirobotics.abm6074

BibTeX
@article{macenski2022robot,
  title = {{Robot Operating System 2: Design, Architecture, and Uses In The Wild}},
  author = {Steve Macenski and Tully Foote and Brian Gerkey and Chris Lalancette and William Woodall},
  year = {2022},
  eprint = {2211.07752},
  archivePrefix = {arXiv},
  doi = {10.1126/scirobotics.abm6074},
  url = {https://arxiv.org/abs/2211.07752v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up