Handling Concurrency in Behavior Trees

10/22/2021
by   Michele Colledanchise, et al.
0

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.

READ FULL TEXT

page 1

page 13

page 14

page 15

research
08/05/2019

Analysis and Exploitation of Synchronized Parallel Executions in Behavior Trees

Behavior Trees (BTs) are becoming a popular tool to model the behaviors ...
research
09/13/2018

Improving the Parallel Execution of Behavior Trees

Behavior Trees (BTs) have become a popular framework for designing contr...
research
08/08/2022

Behavior Trees and State Machines in Robotics Applications

Autonomous robots combine a variety of skills to form increasingly compl...
research
06/29/2021

On the Implementation of Behavior Trees in Robotics

There is a growing interest in Behavior Trees (BTs) as a tool to describ...
research
03/10/2022

Flexible Behavior Trees: In search of the mythical HFSMBTH for Collaborative Autonomy in Robotics

In recent years, the model of computation known as Behavior Trees (BT), ...
research
06/23/2021

Formalizing the Execution Context of Behavior Trees for Runtime Verification of Deliberative Policies

Our research aims to enable automated property verification of deliberat...
research
09/10/2019

Automatic difficulty management and testing in games using a framework based on behavior trees and genetic algorithms

The diversity of agent behaviors is an important topic for the quality o...

Please sign up or login with your details

Forgot password? Click here to reset