Abstract
Bridging the gap between high-level temporal planning and robust robotic execution remains a significant challenge in robotics. This paper introduces a systematic framework for transforming complex, time-sensitive PDDL 2.1 plans into reactive Behavior Trees (BTs). By utilizing a Simple Temporal Network (STN) as an intermediate representation, the proposed GetBT Algorithm ensures that the resulting execution structures maintain the semantic and temporal integrity of the original plan while providing the flexibility needed for real-world environments. Experimental results in the MATCHCELLAR and Tiago Car Assembly domains demonstrate that this approach successfully handles concurrent actions and improves execution efficiency by approximately 10% compared to traditional sequential baselines.
Introduction
High-level planners are essential for determining the sequence of actions a robot must take to achieve a goal. However, the transition from a static plan to dynamic execution is often fraught with difficulties, particularly when plans involve overlapping actions and strict timing constraints. Traditional execution frameworks frequently struggle with concurrency, either failing to model overlapping tasks correctly or defaulting to inefficient sequential execution. This work addresses these limitations by proposing a method to automatically generate Behavior Trees from temporal plans, combining the formal rigor of automated planning with the reactive strengths of BTs.
Methodology: The GetBT Algorithm
The authors propose a three-step pipeline, designated as the GetBT Algorithm, to facilitate the conversion of durative plans into executable Behavior Trees.
1. Building the Simple Temporal Network (STN)
The process begins by decomposing each durative action into "snap actions"—distinct start and end events. An STN is then constructed to represent three primary types of dependencies:
- Satisfying Links: Where one action provides a necessary condition for another.
- Threat Avoidance: Ensuring an action completes before another begins to prevent state conflicts.
- Temporal Constraints: Representing the physical duration requirements between an action's start and end events.
2. Constraint Propagation
To ensure the schedule is mathematically consistent, the algorithm employs the Floyd-Warshall method for constraint propagation. This step calculates the valid time windows for every event in the plan, allowing the system to identify and resolve potential timing conflicts before execution begins.
3. Behavior Tree Construction
Finally, the STN is traversed to build the Behavior Tree. The resulting tree utilizes specialized nodes, such as WaitAction and CheckAction, to manage dependencies. This structure allows the robot to "tick" through the plan reactively; for example, if a robot is delayed by an obstacle, the BT will wait for the required "arrival" condition to trigger rather than proceeding based on a rigid, pre-defined clock.
Experimental Evaluation
The proposed system was evaluated across two distinct robotic domains.
The MATCHCELLAR Domain
The MATCHCELLAR domain is a classic logic puzzle that serves as a benchmark for temporal concurrency. In this scenario, a robot must mend a fuse while a match is lit. Because the "mend" action must occur entirely within the duration of the "light" action, it represents a significant challenge for sequential execution engines.
As illustrated in the plan visualization, the proposed framework successfully manages these overlapping requirements. While standard baselines failed to execute the task due to their inability to handle nested actions, the STN-based BT maintained full semantic correctness.
Tiago Car Assembly
In a more complex real-world scenario involving a Tiago mobile manipulator, the system demonstrated tangible efficiency gains. By allowing for the parallelization of navigation and arm preparation (e.g., moving the arm to a "pre-pick" position while the robot is still in transit), the STNBTBuilder achieved an average execution time of 200.20 seconds, compared to 220.57 seconds for the sequential baseline—a 10% improvement in performance.
Conclusion
This paper presents a robust bridge between high-level temporal planning and robotic execution. By de-atomizing actions and leveraging STNs as an intermediate representation, the authors have created a system capable of executing complex, concurrent plans with high reliability. Future work will explore enhancing the system's robustness to significant environmental changes and integrating online replanning to allow for dynamic tree modification during execution.
Summary updated