分布式ROS 2系统复杂因果链路的消息流分析
Message Flow Analysis with Complex Causal Links for Distributed ROS 2 Systems
摘要:
分布式机器人系统在很大程度上依赖于网络订阅通信范式和支持它的中间件框架,如机器人操作系统(ROS),以有效地实现模块化计算图。ROS2执行器是一个处理ROS2消息的高级任务调度器,它是一个性能瓶颈。我们扩展了ros2_tracing,一个框架与仪器和工具的实时跟踪的ROS 2,跨分布式ROS 2系统的消息流的分析和可视化。我们的方法检测输入和输出消息之间的一对多和多对多的因果联系,包括通过简单的用户级注释的间接因果联系。我们验证我们的方法在合成和真实的机器人系统,并证明其低运行时开销。此外,可以进一步利用底层中间执行表示数据库来提取附加度量和高级结果。这可以为进一步研究和改进ROS 2执行器以及优化任何ROS 2系统提供有价值的时间和调度信息。源代码可在https://github.com/christophebedard/ros2-message-flow-analysis上获得。
英文摘要:
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: https://github.com/christophebedard/ros2-message-flow-analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。