Behavior trees, state machines and mission planning.
Behavior trees for robotics, used by Nav2 and MoveIt.