Cros-Rt: Cross-Layer Priority Scheduling for Predictable Inter-Process Communication in Ros 2

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

The Robot Operating System 2 (ROS 2) is a popular middleware for distributed robotic applications. However, achieving real-time guarantees in ROS 2 is challenging due to unpredictable delays and priority inversions. We reveal that these issues arise from the lack of consistent priority propagation across ROS 2's multi-layered communication architecture, particularly down to the kernel layer. To address this, we present CROS-RT, the first cross-layer scheduler explicitly designed to tackle the unpredictability in ROS 2 inter-process communication caused by multi-layer priority misalignment. CROS-RT ensures consistent, priority-based scheduling across the application, middleware, and kernel layers, introducing mechanisms for priority propagation, kernel-level message prioritization, and dynamic kernel thread adjustment. We have implemented and evaluated CROS-RT on the current stable release of ROS 2. Experiments demonstrate that CROS-RT enhances communication predictability, reducing the worst-case response time by up to 89.3 % over a baseline (vanilla ROS 2). Additionally, we provide an analytical model to derive upper bounds on response times, ensuring reliable realtime performance for safety-critical applications.

Original languageEnglish
Title of host publicationProceedings - 31st IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages202-214
Number of pages13
ISBN (Electronic)9798331543402
DOIs
StatePublished - 2025
Event31st IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2025 - Irvine, United States
Duration: 6 May 20259 May 2025

Publication series

NameProceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS
ISSN (Print)1545-3421

Conference

Conference31st IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2025
Country/TerritoryUnited States
CityIrvine
Period6/05/259/05/25

Bibliographical note

Publisher Copyright:
© 2025 IEEE.

Fingerprint

Dive into the research topics of 'Cros-Rt: Cross-Layer Priority Scheduling for Predictable Inter-Process Communication in Ros 2'. Together they form a unique fingerprint.

Cite this