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

行为树中的并发处理

Handling Concurrency in Behavior Trees

Istituto Italiano di Tecnologia(意大利技术研究院)

Michele Colledanchise, Lorenzo Natale

摘要:

本文讨论了影响行为树(BTs),一个流行的工具,在视频游戏和机器人行业的自主智能体的行为建模的并发问题。BT设计人员可以轻松地构建由简单行为组成的复杂行为,这是BT的一个关键优势。BT的并行组合表达了一种组合具有高潜力的并发行为的方式,因为以并行方式组合预先存在的BT比在并行经典控制架构中组合更容易,如有限状态机或teleo反应程序。然而,BT设计者很少使用这种组合,因为底层的并发问题类似于并发编程中所面临的问题。因此,并行组合,尽管它的潜力,发现应用程序只在简单的行为组成或设计师可以保证没有冲突的设计。在本文中,我们定义了两个新的BT节点来解决BT中的并发问题,并展示了如何利用它们来创建可预测的行为。此外,我们引入的措施来评估执行性能,并显示不同的设计选择如何影响他们。我们验证我们的方法在模拟和现实世界中。模拟实验提供了统计上显着的数据,而真实世界的实验表明,我们的方法对真实机器人的适用性。我们提供了一个新的BT公式的开源实现,并发布了所有的源代码来重现数值示例和实验。

英文摘要:

This paper addresses the concurrency issues affecting Behavior Trees (BTs), a popular tool to model the behaviors of autonomous agents in the video game and the robotics industry. BT designers can easily build complex behaviors composing simpler ones, which represents a key advantage of BTs. The parallel composition of BTs expresses a way to combine concurrent behaviors that has high potential, since composing pre-existing BTs in parallel results easier than composing in parallel classical control architectures, as finite state machines or teleo-reactive programs. However, BT designers rarely use such composition due to the underlying concurrency problems similar to the ones faced in concurrent programming. As a result, the parallel composition, despite its potential, finds application only in the composition of simple behaviors or where the designer can guarantee the absence of conflicts by design. In this paper, we define two new BT nodes to tackle the concurrency problems in BTs and we show how to exploit them to create predictable behaviors. In addition, we introduce measures to assess execution performance and show how different design choices affect them. We validate our approach in both simulations and the real world. Simulated experiments provide statistically significant data, whereas real-world experiments show the applicability of our method on real robots. We provided an open-source implementation of the novel BT formulation and published all the source code to reproduce the numerical examples and experiments.

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

↑