Finite State Machine
A computational model with a finite number of states, transitions between states triggered by events or conditions, and actions associated with states or transitions. FSMs are the traditional way to structure robot task logic: IDLE → APPROACHING → GRASPING → LIFTING → PLACING. They are simple but become unwieldy for complex behaviors with many states and transitions.