Real-Time Scheduling and Analysis of Processing Chains on Multi-threaded Executor in ROS 2

Xu Jiang, Dong Ji*, Nan Guan, Ruoxiang Li, Yue Tang, Yi Wang

*Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

40 Citations (Scopus)

Abstract

ROS (Robot Operating System) is currently one of the most popular development frameworks for robotic software, which is usually subject to hard real-time constraints in safe-critical domains. Designers must formally model and analyze its timing behaviors to guarantee that real-time constraints are always honored at run-time. This paper studies real-time scheduling and analysis under a multi-threaded executor in ROS 2. We present a formal description of the scheduling model of multi-threaded executors, and develop response time analysis techniques for processing chains executing on it. Moreover, we identify a risk of increasing the response time of chains that may be caused by improper design when deploying systems on multi-threaded executors, which provides a useful guidance to designers. We conduct experiments with both randomly generated workloads and case studies on a realistic ROS 2 platform to evaluate and demonstrate our results.
Original languageEnglish
Title of host publicationProceedings - 43rd IEEE Real-Time Systems Symposium (RTSS 2022)
PublisherIEEE
Pages27-39
ISBN (Electronic)978-1-6654-5346-2
DOIs
Publication statusPublished - 2022
Event43rd IEEE Real-Time Systems Symposium, RTSS 2022 - Houston, United States
Duration: 5 Dec 20228 Dec 2022

Publication series

NameProceedings - Real-Time Systems Symposium
Volume2022-December
ISSN (Print)1052-8725

Conference

Conference43rd IEEE Real-Time Systems Symposium, RTSS 2022
PlaceUnited States
CityHouston
Period5/12/228/12/22

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

This work was partially supported by National Natural Science Foundation of China under Grant NSFC 62102072, and Hong Kong Research Grant Council (GRF 11208522 and GRF 15206221).

RGC Funding Information

  • RGC-funded

Fingerprint

Dive into the research topics of 'Real-Time Scheduling and Analysis of Processing Chains on Multi-threaded Executor in ROS 2'. Together they form a unique fingerprint.

Cite this