CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Robotics

🤖 Robotics · State Machine

Robot Task State Machine

The states of an autonomous mobile robot doing pick tasks: idle, navigating, picking, delivering, charging, and recovering from faults and blocked paths.

More Robotics templates

Drawing diagram…

What this diagram shows

  • Low battery sends the robot to charge between tasks
  • Blocked paths trigger re-planning before raising a fault
  • Emergency stop overrides every other state

Prompt used

State machine for an autonomous warehouse robot: Idle, Assigned a task, Navigating to the pick location, Picking, Navigating to drop-off, Delivering, back to Idle. Low battery below 20% sends it to Charging. A blocked path goes to Replanning; if replanning fails 3 times it raises Fault and waits for an operator. Emergency Stop can happen from any active state.

Mermaid code
stateDiagram-v2
  [*] --> Idle
  Idle --> Assigned: Task received
  Idle --> Charging: Battery below 20%
  Charging --> Idle: Battery above 90%
  Assigned --> NavigatingToPick
  NavigatingToPick --> Picking: Arrived
  NavigatingToPick --> Replanning: Path blocked
  Replanning --> NavigatingToPick: New path found
  Replanning --> Fault: Failed 3 times
  Picking --> NavigatingToDrop: Item picked
  Picking --> Fault: Item not found
  NavigatingToDrop --> Delivering
  Delivering --> Idle: Item dropped
  Fault --> Idle: Operator clears
  NavigatingToPick --> EmergencyStop: E-stop pressed
  NavigatingToDrop --> EmergencyStop: E-stop pressed
  Picking --> EmergencyStop: E-stop pressed
  EmergencyStop --> Idle: Reset by operator

Related templates

C4 ArchitectureProRobotics

Warehouse Robot Fleet Management

The software that runs a fleet of warehouse robots: order intake from the WMS, task allocation, traffic control, charging and the operator dashboard.

FlowchartRobotics

ROS 2 Mobile Robot Architecture

The software nodes inside a ROS 2 autonomous mobile robot: sensors, localisation, mapping, planning, control and the fleet connection.

SequenceRobotics

Robot Pick-and-Place Sequence

How a robot arm picks items from a bin with vision guidance: detection, grasp planning, motion, placement and error handling.

NetworkRobotics

Robotic Work Cell Network

The network inside a robotic work cell: robot controllers, PLC, safety systems, vision and the connection to the plant network.

GanttRobotics

Warehouse Robot Rollout Plan

A project plan for introducing autonomous robots into a warehouse: site survey, mapping, integration, pilot, training and scale-up.

DeploymentProRobotics

Robot Fleet Cloud Deployment

How a fleet of warehouse robots connects to the cloud: on-site fleet server, edge Kubernetes, telemetry and remote updates.