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 language | English |
|---|---|
| Title of host publication | Proceedings - 31st IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2025 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 202-214 |
| Number of pages | 13 |
| ISBN (Electronic) | 9798331543402 |
| DOIs | |
| State | Published - 2025 |
| Event | 31st IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2025 - Irvine, United States Duration: 6 May 2025 → 9 May 2025 |
Publication series
| Name | Proceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS |
|---|---|
| ISSN (Print) | 1545-3421 |
Conference
| Conference | 31st IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2025 |
|---|---|
| Country/Territory | United States |
| City | Irvine |
| Period | 6/05/25 → 9/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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver