Home /Research /Latency Overhead of ROS2 for Modular Time-Critical Systems.
OTHER

Latency Overhead of ROS2 for Modular Time-Critical Systems.

Tobias Kronauer, Joshwa Pohlmann, Maximilian Matthé, Till Smejkal, Gerhard Fettweis

Year
2021
Citations
7

Abstract

Robot Operating System 2 (ROS2) targets distributed real-time systems. Especially in tight real-time control loops, latency in data processing and communication can lead to instabilities. As ROS2 encourages splitting of the data-processing pipelines into several modules, it is important to understand the latency implications of such modularization. In this paper, we investigate the end-to-end latency of ROS2 data-processing pipeline with different Data Distribution Service (DDS) middlewares. In addition, we profile the ROS2 stack and point out latency bottlenecks. Our findings indicate that end-to-end latency strongly depends on the used DDS middleware. Moreover, we show that ROS2 can lead to 50 % latency overhead compared to using low-level DDS communications. Our results imply guidelines for designing modular ROS2 architectures and indicate possibilities for reducing the ROS2 overhead.

Keywords

Latency (audio)Computer scienceModular designModular programmingDistributed computingEmbedded systemComputer networkOperating systemTelecommunications

Related papers

Browse all OTHER papers