In this paper we provide a practical demonstration of how the modularity in a Behavior Tree (BT) decreases the effort in programming a robot task when compared to a Finite State Machine (FSM). In recent years the way to represent a task plan to control an autonomous agent has been shifting from the standard FSM towards BTs. Many works in the literature have highlighted and proven the benefits of such design compared to standard approaches, especially in terms of modularity, reactivity and human readability. However, these works have often failed in providing a tangible comparison in the implementation of those policies and the programming effort required to modify them. This is a relevant aspect in many robotic applications, where the design choice is dictated both by the robustness of the policy and by the time required to program it. In this work, we compare backward chained BTs with a fault-tolerant design of FSMs by evaluating the cost to modify them. We validate the analysis with a set of experiments in a simulation environment where a mobile manipulator solves an item fetching task.
翻译:在本文中,我们实际地展示了行为树(BT)模块化如何减少机器人任务编程的努力,而相对于一个非技术性国家机器(FSM)而言,机器人任务的程序设计工作。近年来,控制自主剂的任务计划代表方式从标准密克罗尼西亚转向BTs。许多文献中的著作都强调并证明了这种设计与标准方法相比的好处,特别是在模块性、反应性和人文可读性方面。然而,这些作品往往未能提供这些政策执行和修改这些政策所需的程序工作的实际比较。这是许多机器人应用中一个相关方面,因为设计选择是由政策的稳健性和编程所需时间决定的。在这项工作中,我们通过评估修改成本,将落后的链条型BTs与FSMs的错误设计进行比较。我们用模拟环境中的一系列实验来验证分析结果,在模拟环境中,移动操纵器解决了一项取货任务。