ROS 2 中发布者-订阅者范式的形式化建模与验证
Formal Modeling and Verification of Publisher-Subscriber Paradigm in ROS 2
AI总结:
针对 ROS 2 程序缺乏形式化正确性保证的问题,提出将发布者-订阅者程序建模并转换为时间自动机网络,且证明执行等价,并通过简化与真实机器人实验验证。
摘要:
机器人操作系统(Robot Operating System,ROS)是开发机器人应用最流行的中间件之一,但在安全关键环境中应用于实时机器人系统时,它存在重大缺陷。因此,ROS 2 于 2017 年发布,用于在分布式机器人系统中实现实时能力,同时支持原始 ROS 最突出的方面。目前,为 ROS 程序提供形式化保证和正确性的工作仍然不多。本文提出一个框架,以解决保证机器人系统行为正确这一具有挑战性的问题。我们提出了 ROS 2 程序的形式化建模,并使用时间自动机网络描述该程序。随后,我们证明了 ROS 程序在该模型与时间自动机网络中的执行集合相同。因此,为分析 ROS 2 程序的发布者-订阅者场景,我们的算法首先将程序转换为该模型,然后再转换为时间自动机网络。通过在一个简化系统和一个实际机器人系统上进行若干实验,验证了该方法的适用性和有效性,并讨论了结果与局限性。
英文摘要:
The Robot Operating System (ROS) is one of the most popular middleware for developing robot applications, but it is subject to major shortcomings when applied to real-time robotic systems in safety-critical environments. For this reason, ROS 2 was released in 2017 for implementing real-time capabilities in distributed robotic systems while supporting the most prominent aspects of the original ROS. There is still not much work done to provide formal guarantees and correctness of a ROS program. In this paper, we propose a framework to address this challenging problem of guaranteeing the correct behaviour of robotic systems. We propose a formal modelling of a ROS 2 program, and also describe the program using a network of timed automata. We then prove that the sets of executions of a ROS program in the model and in the network of timed automata are the same. Thus to analyze a publisher-subscriber scenario of ROS 2 program, our algorithm first converts the program into the model, and then into the network of timed automata. The applicability and validity of our approach are verified by conducting several experiments on a simplified system and an actual robotic system, and the results and limitations are discussed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。