arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.04211cs.ROcs.SE
收藏

机器人应用中的行为树与状态机

Behavior Trees and State Machines in Robotics Applications

Razan Ghzouli, Thorsten Berger, Einar Broch Johnsen, Andrzej Wasowski, Swaib Dragule

AI总结:

本研究对比了机器人应用中行为树与状态机的语言概念,分析了五种DSL及开源项目使用,发现行为树使用增长迅速,并贡献了提取的数据集以促进发展。

摘要:

自主机器人通过组合技能形成日益复杂的行为,称为任务。虽然技能通常在相对较低的抽象层级上编程,但它们的协调在架构上是分离的,并常以更高级别的语言或框架来表达。几十年来,状态机一直是行为建模的首选语言,但最近,行为树在机器人学家中引起了关注。尽管已有多种行为树实现被使用,但对其在现实世界中的使用范围和范围知之甚少。行为树提供的概念与传统语言(如状态机)有何关联?行为树和状态机中的概念在实际应用中如何使用?本文研究了行为树中的关键语言概念,这些概念在领域特定语言(DSL)中实现,包括作为库提供的内部和外部DSL,以及它们在由机器人操作系统(ROS)支持的开源机器人应用中的使用。我们分析了行为树DSL,并将其与机器人行为建模的标准语言——状态机进行比较。我们为两种行为建模语言识别了DSL,并深入分析了五种。我们挖掘了使用所分析DSL的机器人应用的开源仓库,并分析了它们的使用情况。我们识别了行为树和状态机在语言设计及为适应机器人领域需求而提供的概念方面的相似性。我们观察到,开源项目中对行为树DSL的使用正在迅速增加。在挖掘的开源项目中,我们观察到行为树和状态机模型在模型结构和代码重用方面有相似的使用模式。我们将所有提取的模型作为数据集贡献出来,希望激励社区使用并进一步发展行为树、相关工具和分析技术。

英文摘要:

Autonomous robots combine skills to form increasingly complex behaviors, called missions. While skills are often programmed at a relatively low abstraction level, their coordination is architecturally separated and often expressed in higher-level languages or frameworks. State machines have been the go-to language to model behavior for decades, but recently, behavior trees have gained attention among roboticists. Although several implementations of behavior trees are in use, little is known about their usage and scope in the real world.How do concepts offered by behavior trees relate to traditional languages, such as state machines? How are concepts in behavior trees and state machines used in actual applications? This paper is a study of the key language concepts in behavior trees as realized in domain-specific languages (DSLs), internal and external DSLs offered as libraries, and their use in open-source robotic applications supported by the Robot Operating System (ROS). We analyze behavior-tree DSLs and compare them to the standard language for behavior models in robotics:state machines. We identify DSLs for both behavior-modeling languages, and we analyze five in-depth.We mine open-source repositories for robotic applications that use the analyzed DSLs and analyze their usage. We identify similarities between behavior trees and state machines in terms of language design and the concepts offered to accommodate the needs of the robotics domain. We observed that the usage of behavior-tree DSLs in open-source projects is increasing rapidly. We observed similar usage patterns at model structure and at code reuse in the behavior-tree and state-machine models within the mined open-source projects. We contribute all extracted models as a dataset, hoping to inspire the community to use and further develop behavior trees, associated tools, and analysis techniques.

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

↑