Computer Science > Robotics
[Submitted on 21 Apr 2022 (v1), revised 2 May 2022 (this version, v3), latest version 2 Jan 2023 (v6)]
Title:Message Flow Analysis with Complex Causal Links for Distributed ROS 2 Systems
View PDFAbstract:Distributed robotic systems rely heavily on publish-subscribe frameworks 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: this https URL.
Submission history
From: Christophe Bédard [view email][v1] Thu, 21 Apr 2022 15:45:01 UTC (981 KB)
[v2] Mon, 25 Apr 2022 16:13:32 UTC (1,049 KB)
[v3] Mon, 2 May 2022 14:55:39 UTC (1,048 KB)
[v4] Fri, 23 Sep 2022 03:01:23 UTC (1,053 KB)
[v5] Sun, 11 Dec 2022 00:09:43 UTC (1,050 KB)
[v6] Mon, 2 Jan 2023 18:47:10 UTC (1,052 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.