Available at: https://digitalcommons.calpoly.edu/theses/3452
Date of Award
12-2026
Degree Name
MS in Electrical Engineering
Department/Program
Electrical Engineering
College
College of Engineering
Advisor
Carlos Alvarenga
Advisor Department
Electrical Engineering
Advisor College
College of Engineering
Abstract
Behavior trees have increasingly replaced finite state machines for organizing a robot's actions, since a tree rechecks its conditions on every tick and can be extended without rewiring. Planners build such trees automatically from a model of the robot's actions, but only for a goal that is a single set of facts. A task with alternatives, such as leaving a package in either of two bins, becomes a separate tree per alternative, each planning the shared work again. This thesis builds one tree directly from a goal of nested AND and OR operators, so shared work is planned once. Because one part of a conjunction can then undo another, a protection rule forbids such actions, and a proof shows that the tree then reports success only when the goal holds. On synthetic problems whose parts are independent, the separate trees are 2.58 to 5.33 times larger. Without protection, 18 to 21% of states end with the tree reporting success on an unmet goal, and with protection none do, while 91.8% and 81.1% of solvable states are still solved for the two goal shapes tested. Robots can therefore be given tasks with alternatives without multiplying the work of planning them, and when the parts of a task interact, the tree fails visibly, so the system can plan again.