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

Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.

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

Inside this diagram

A state diagram with 10 states and 17 transitions.

States

  • Idle
  • Assigned
  • Charging
  • NavigatingToPick
  • Picking
  • Replanning
  • Fault
  • NavigatingToDrop
  • Delivering
  • EmergencyStop

Starts in

  • Idle

Transitions

  • Idle β†’ Assigned when Task received
  • Idle β†’ Charging when Battery below 20%
  • Charging β†’ Idle when Battery above 90%
  • Assigned β†’ NavigatingToPick
  • NavigatingToPick β†’ Picking when Arrived
  • NavigatingToPick β†’ Replanning when Path blocked
  • Replanning β†’ NavigatingToPick when New path found
  • Replanning β†’ Fault when Failed 3 times
  • Picking β†’ NavigatingToDrop when Item picked
  • Picking β†’ Fault when Item not found
  • NavigatingToDrop β†’ Delivering
  • Delivering β†’ Idle when Item dropped
  • Fault β†’ Idle when Operator clears
  • NavigatingToPick β†’ EmergencyStop when E-stop pressed
  • NavigatingToDrop β†’ EmergencyStop when E-stop pressed
  • Picking β†’ EmergencyStop when E-stop pressed
  • EmergencyStop β†’ Idle when Reset by operator

Make your own diagram like this

Describe your own system in plain English and CloudSketch AI draws it in seconds. See all AI diagram generators.

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.