arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.00393cs.RO
收藏

ros2_tracing:用于实时的跟踪ROS 2的多用途低开销框架

ros2_tracing: Multipurpose Low-Overhead Framework for Real-Time Tracing of ROS 2

Polytechnique Montréal(蒙特利尔工程学院);Robert Bosch GmbH(罗伯特·博世有限公司)

Christophe Bédard, Ingo Lütkebohle, Michel Dagenais

摘要:

由于机器人系统的复杂性和动态环境,测试和调试已经成为机器人软件开发的主要障碍。基于中间件的标准数据记录无法提供有关内部计算和性能瓶颈的足够信息。其他现有的方法也针对非常具体的问题,因此不能用于多用途分析。此外,它们不适合于实时的【形】应用。在本文中,我们提出了ros2_tracing,一个灵活的跟踪工具和多用途仪器的ROS 2的集合。它允许使用低开销的LTTng跟踪器收集实时的【形】分布式系统上的运行时执行信息。工具还将跟踪集成到非常宝贵的ROS 2编排系统和其他可用性工具中。消息延迟实验表明,当启用所有ROS 2仪器时,端到端消息延迟开销平均为0.0033 ms,我们认为这适合于生产实时的【形】系统。使用ros2_tracing获得的ROS 2执行信息可以与来自操作系统的跟踪数据相结合,从而实现更广泛的精确分析,帮助理解应用程序执行,找到性能瓶颈和其他问题的原因。源代码可在https://github.com/ros2/ros2_tracing上获得。

英文摘要:

Testing and debugging have become major obstacles for robot software development, because of high system complexity and dynamic environments. Standard, middleware-based data recording does not provide sufficient information on internal computation and performance bottlenecks. Other existing methods also target very specific problems and thus cannot be used for multipurpose analysis. Moreover, they are not suitable for real-time applications. In this paper, we present ros2_tracing, a collection of flexible tracing tools and multipurpose instrumentation for ROS 2. It allows collecting runtime execution information on real-time distributed systems, using the low-overhead LTTng tracer. Tools also integrate tracing into the invaluable ROS 2 orchestration system and other usability tools. A message latency experiment shows that the end-to-end message latency overhead, when enabling all ROS 2 instrumentation, is on average 0.0033 ms, which we believe is suitable for production real-time systems. ROS 2 execution information obtained using ros2_tracing can be combined with trace data from the operating system, enabling a wider range of precise analyses, that help understand an application execution, to find the cause of performance bottlenecks and other issues. The source code is available at: https://github.com/ros2/ros2_tracing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑