A Survey of Real-Time Support, Analysis, and Advancements in ROS 2

Daniel Casini, Jian-Jia Chen, Jing Li, Federico Reghenzani, Harun Teper · 2026

Read A Survey of Real-Time Support, Analysis, and Advancements in ROS 2 by Daniel Casini, Jian-Jia Chen, Jing Li, Federico Reghenzani, Harun Teper (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-10722.txt.

Introduction

Daniel Casini, Jian-Jia Chen, Jing Li, Federico Reghenzani, and Harun Teper survey real-time support in ROS 2. ROS 2 is the middleware that ties robot software parts together. It offers modular design, spread-out execution, and rich communication. Robots that must react on a strict clock need more than that: they need timing they can count on.

Over the last six years, both researchers and industry have pushed ROS 2 toward hard real-time use. The survey gathers the support, the analysis methods, and the latest advances. It maps what is proven, what is patched, and what is still missing. Teams building time-critical robots get a guide to what ROS 2 can promise today.

Catalog record

CREATORDaniel Casini, Jian-Jia Chen, Jing Li, Federico Reghenzani, Harun Teper
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE104 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2601-10722

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

A Survey of Real-Time Support, Analysis, and Advancements in ROS 2 Daniel Casini, Jian-Jia Chen, Jing Li, Federico Reghenzani, Harun Teper Abstract The Robot Operating System 2 (ROS 2) has emerged as a relevant middleware framework for robotic applications, offering modularity, distributed execution, and communication. In the last six years, ROS 2 has drawn increasing attention from the real-time systems community and industry. This survey presents a comprehensive overview of research efforts that analyze, enhance, and extend ROS 2 to support real-time execution. We first provide a detailed description of the internal scheduling mechanisms of ROS 2 and its layered architecture, including the interaction with DDS-based communication and other communication middleware. We then review key contributions from the literature, covering timing analysis for both single- and multi-threaded executors, metrics such as response time, reaction time, and data age, and different communication modes. The survey also discusses community-driven enhancements to the ROS 2 runtime, including new executor algorithm designs, real-time GPU management, and microcontroller support via micro-ROS. Furthermore, we summarize techniques for bounding DDS communication delays, message filters, and profiling tools that have been developed to support analysis and experimentation. To help systematize this growing body of work, we introduce taxonomies that classify the surveyed contributions based on different criteria. This survey aims to guide both researchers and practitioners in understanding and improving the real-time capabilities of ROS 2. Scuola Superiore Sant’Anna, Pisa, Italy [email protected] https://orcid.org/0000-0003-4719-3631TU Dortmund University, [email protected]://orcid.org/0000-0001-8114-9760 New Jersey Institute of Technology, Newark, [email protected] https://orcid.org/0000-0002-6865-7290 Politecnico di Milano, Milan, [email protected] https://orcid.org/0000-0002-1888-9579 TU Dortmund University, [email protected] https://orcid.org/0000-0003-2873-9096 \Copyright Jane Open Access and Joan R. Public {CCSXML} <ccs2012> <concept> <concept_id>10011007.10010940.10010971.10011679</concept_id> <concept_desc>Software and its engineering Real-time systems software</concept_desc> <concept_significance>500</concept_significance> </concept> <concept> <concept_id>10011007.10010940.10010992.10010993.10010995</concept_id> <concept_desc>Software and its engineering Real-time schedulability</concept_desc> <concept_significance>500</concept_significance> </concept> <concept> <concept_id>10010520.10010570.10010571</concept_id> <concept_desc>Computer systems organization Real-time operating systems</concept_desc> <concept_significance>300</concept_significance> </concept> <concept> <concept_id>10010520.10010553.10010554</concept_id> <concept_desc>Computer systems organization Robotics</concept_desc> <concept_significance>100</concept_significance> </concept> </ccs2012> \ccsdesc [500]Software and its engineering Real-time systems software \ccsdesc [500]Software and its engineering Real-time schedulability \ccsdesc [300]Computer systems organization Real-time operating systems \ccsdesc [100]Computer systems organization Robotics \Volume 1 \Issue 1 \Article 42 \DateSubmission Date of submission \DateAcceptance Date of acceptance \DatePublished Date of publishing \SectionAreaEditor LITES section area editor keywords ros 2, middleware, real-time, timing predictability, publish-subscribe category \relatedversion 1 Introduction The Robot Operating System (ROS) [ 72 ] has been established as one of the most popular middleware frameworks for prototyping, developing, and deploying robotics applications. With its first release in 2007, it has become more and more widespread, thanks to a modular architecture, a considerable community support, extensive libraries, and excellent interoperability. Its impact goes beyond robotics, with applications including, among others, industrial automation, smart infrastructure, and automotive [ 34 , 48 , 68 , 79 ] . Notably, Autoware [ 48 ] , the largest and most popular open-source autonomous driving framework, builds upon the ROS 2 software stack to modularly integrate perception, location, planning, and control functionalities. After about 10 years since the first release, it became clear that the original ROS was constrained by several architectural limitations and shortcomings, which were difficult to address without a complete redesign of the framework. To overcome these issues with a completely new design, ROS 2 was released in 2017. One of the key objectives of ROS 2 was to provide support for real-time computations, thus allowing the implementation of time-critical applications [ 65 ] . Therefore, the real-time capabilities of ROS 2 have drawn increasing attention from both the academic community and industry. Since then, the real-time systems community has intensively studied the topic of guaranteeing timing constraints under ROS 2, with particular focus on ensuring the end-to-end timing constraints of processing chains that may span from sensing to actuation through multiple software components, cores, and possibly distributed processing platforms. Indeed, providing such guarantees is essential for safely integrating ROS 2 applications into cyber-physical systems, which are characterized by tight interaction of the processing systems with the physical world through sensing, computation, and actuation. Since the very first work [ 22 ] , it has become evident that ROS 2 was characterized by a unique scheduling behavior that did not match any state-of-the-art scheduling algorithm previously studied in the real-time systems literature. Therefore, over the last years, the community has largely explored the topic by proposing: • real-time analysis methods to analyze end-to-end latency metrics such as response times, reaction times, and data age of ROS 2 applications, which are the key building blocks to enable principled design-space exploration without needing the full prototyping and deployment of the system; • customized schedulers, aimed at improving the timing predictability of the default ROS 2 scheduling algorithm; • tools to help the development of real-time applications using ROS 2, as well as system-level enhancements to support the interaction between ROS 2 and hardware accelerators or other frameworks; and • techniques for bounding ROS-related communication delays (e.g., DDS), message filters, and profiling tools that have been developed to support analysis and experimentation. After more than 6 years of work by the real-time systems communities towards these goals, we believe it is essential to understand what we have accomplished and how far we are from achieving the ambitious goal of supporting real-time computing in ROS 2. This survey aims to guide both researchers and practitioners in understanding the literature about the real-time capabilities of ROS 2. To help systematize this growing body of work, several taxonomies have been introduced in this survey to classify the surveyed contributions based on different criteria, including scheduling strategies, communication mechanisms, and timing models. Survey structure The discussion of this survey is divided into the following parts: Section 2 summarizes the necessary background on the real-time aspects of ROS 2, covering its internal scheduling mechanisms, layered architecture, and interaction with DDS-based communication and other middleware backends; Section 3 discusses the articles on scheduling analyses on native ROS 2. Section 4 discusses novel approaches that extend the ROS 2 scheduling approaches and introduces GPU and latency management techniques; Section 5 recaps the papers dealing with tools, profiling, and empirical analyses; Section 6 concludes the paper. 2 Background We start the survey by providing the necessary background. In particular, Section 2.1 summarizes the layered architecture of ROS 2, discusses its scheduling mechanism, and reports the differences between the different executor types natively available in ROS 2. Section 2.2 reports some relevant information regarding the interaction of ROS 2 with lower-level middleware that are used to dispatch messages, such as the DDS, and describes the micro-ROS initiative, aimed at using ROS 2 on microcontrollers. Finally, Section 2.3 briefly summarizes some approaches that have been presented in the state-of-the-art to improve the real-time performance of ROS 1, so as to provide a historical note. 2.1 ROS 2 In this section, we provide an overview of the ROS 2 architecture, the system design, and the basic ROS 2 scheduling and communication mechanisms. Overview. As shown in Figure 1 , ROS 2 acts as a middleware between the application and the operating system, providing a set of tools and libraries to build robotic applications, as well as interfaces for inter-process and inter-machine communication. ROS 2 itself is composed of several layers that enable its modular architecture. At the top, there are programming-language-specific layers: the two

Read the complete text