TY - GEN
T1 - End-To-End Timing Analysis and Optimization of Multi-Executor ROS 2 Systems
AU - Teper, Harun
AU - Betz, Tobias
AU - Gunzel, Mario
AU - Ebner, Dominic
AU - Von Der Bruggen, Georg
AU - Betz, Johannes
AU - Chen, Jian Jia
N1 - Publisher Copyright:
© 2024 IEEE.
PY - 2024
Y1 - 2024
N2 - Modern robot systems, like autonomous vehicles, are complex, distributed systems that consist of many interacting components. End-To-end timing latency guarantees are key properties of such systems. They upper bound the data processing time and provide a predictable timing behavior. The Robot Operating System 2 (ROS 2) is a widely used and highly configurable set of software libraries for creating and deploying robot systems. It features a custom scheduler to execute time-Triggered and event-Triggered tasks and uses Data Distribution Services (DDS) for the communication between different system components. The data propagations between ROS 2 system components form cause-effect chains, which can be analyzed to determine the maximum reaction time (longest time between occurrence of an external cause and the earliest time when this external cause is fully processed) and maximum data age (longest time between the moment of a sensor measurement and the latest moment where an effect is based on this sensor measurement). In this paper, we provide an analysis of the end-To-end latencies in multi-executor ROS 2 systems to upper bound the end-To-end latencies of cause-effect chains in ROS 2 systems. Furthermore, we introduce an optimization using constrained programming that determines the optimal system configuration to minimize the end-To-end latencies for ROS 2 systems. We evaluate our upper-bound analysis to determine the end-To-end latencies of cause-effect chains in an autonomous driving-software stack for oval racing used in the Indy Autonomous Challenge and apply our optimization method to reduce the end-To-end latency upper bound, measured maximum, and measured mean by up to 50.2 %, 19.8 %, and 7.2 %, respectively.
AB - Modern robot systems, like autonomous vehicles, are complex, distributed systems that consist of many interacting components. End-To-end timing latency guarantees are key properties of such systems. They upper bound the data processing time and provide a predictable timing behavior. The Robot Operating System 2 (ROS 2) is a widely used and highly configurable set of software libraries for creating and deploying robot systems. It features a custom scheduler to execute time-Triggered and event-Triggered tasks and uses Data Distribution Services (DDS) for the communication between different system components. The data propagations between ROS 2 system components form cause-effect chains, which can be analyzed to determine the maximum reaction time (longest time between occurrence of an external cause and the earliest time when this external cause is fully processed) and maximum data age (longest time between the moment of a sensor measurement and the latest moment where an effect is based on this sensor measurement). In this paper, we provide an analysis of the end-To-end latencies in multi-executor ROS 2 systems to upper bound the end-To-end latencies of cause-effect chains in ROS 2 systems. Furthermore, we introduce an optimization using constrained programming that determines the optimal system configuration to minimize the end-To-end latencies for ROS 2 systems. We evaluate our upper-bound analysis to determine the end-To-end latencies of cause-effect chains in an autonomous driving-software stack for oval racing used in the Indy Autonomous Challenge and apply our optimization method to reduce the end-To-end latency upper bound, measured maximum, and measured mean by up to 50.2 %, 19.8 %, and 7.2 %, respectively.
KW - End-To-End Timing
KW - Maximum Data Age
KW - Maximum Reaction Time
KW - Robot Operating System 2
UR - http://www.scopus.com/inward/record.url?scp=85197692412&partnerID=8YFLogxK
U2 - 10.1109/RTAS61025.2024.00025
DO - 10.1109/RTAS61025.2024.00025
M3 - Conference contribution
AN - SCOPUS:85197692412
T3 - Proceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS
SP - 212
EP - 224
BT - Proceedings - 2024 IEEE 30th Real-Time and Embedded Technology and Applications Symposium, RTAS 2024
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 30th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2024
Y2 - 13 May 2024 through 16 May 2024
ER -