The process of choosing which action a robot should execute next based on perceived state and task context.