Message flow analysis with complex causal links for distributed ROS 2 systems

Distributed robotic systems rely heavily on the publish–subscribe communication paradigm and middleware frameworks that support it, such as the Robot Operating System (ROS), to efficiently implement modular computation graphs. The ROS 2 executor, a high-level task scheduler which handles ROS 2 messa...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:Robotics and autonomous systems Ročník 161; s. 104361
Hlavní autoři: Bédard, Christophe, Lajoie, Pierre-Yves, Beltrame, Giovanni, Dagenais, Michel
Médium: Journal Article
Jazyk:angličtina
Vydáno: Elsevier B.V 01.03.2023
Témata:
ISSN:0921-8890, 1872-793X
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Popis
Shrnutí:Distributed robotic systems rely heavily on the publish–subscribe communication paradigm and middleware frameworks that support it, such as the Robot Operating System (ROS), to efficiently implement modular computation graphs. The ROS 2 executor, a high-level task scheduler which handles ROS 2 messages, is a performance bottleneck. We extend ros2_tracing, a framework with instrumentation and tools for real-time tracing of ROS 2, with the analysis and visualization of the flow of messages across distributed ROS 2 systems. Our method detects one-to-many and many-to-many causal links between input and output messages, including indirect causal links through simple user-level annotations. We validate our method on both synthetic and real robotic systems, and demonstrate its low runtime overhead. Moreover, the underlying intermediate execution representation database can be further leveraged to extract additional metrics and high-level results. This can provide valuable timing and scheduling information to further study and improve the ROS 2 executor as well as optimize any ROS 2 system. The source code is available at: github.com/christophebedard/ros2-message-flow-analysis.
ISSN:0921-8890
1872-793X
DOI:10.1016/j.robot.2022.104361