The Director: A Composable Behaviour System with Soft Transitions
Ysobel Sims, Trent Houliston, Thomas O'Brien, Alexandre Mendes, Stephan Chalup
TL;DR
The paper tackles the limitations of existing robotic behaviour systems, notably the need for smooth transitions, environment-aware multi-implementation choices, and strict resource control. It introduces The Director, a pub/sub-based framework built around Providers and Tasks, with Provider Groups, and semantics such as When and Causing to enable soft transitions and conditional behavior changes. Key contributions include soft-transition support, the ability to have multiple implementations for a single task via provider groups, and a strict resource-control mechanism validated through RoboCup deployments and automated tests. The framework supports rapid development, safe integration with higher-level reasoning like LLM-powered strategies, and demonstrates practical effectiveness in humanoid soccer contexts, indicating broad applicability to autonomous robotics.
Abstract
Software frameworks for behaviour are critical in robotics as they enable the correct and efficient execution of functions. While modern behaviour systems have improved their composability, they do not focus on smooth transitions and often lack functionality. In this work, we present the Director, a novel behaviour framework that addresses these problems. It has functionality for soft transitions, multiple implementations of the same action chosen based on conditionals, and strict resource control. The system was successfully used in the 2022/2023 Virtual Season and RoboCup 2023 Bordeaux, in the Humanoid Kid Size League. It is implemented at https://github.com/NUbots/DirectorSoccer, which also contains over thirty automated tests and technical documentation on its implementation in NUClear.
