Search docs...
K

State Machine Logic

Overview

state_machine_list (Light Theme)state_machine_list (Dark Theme)
state_machine_edit (Light Theme)state_machine_edit (Dark Theme)

The State Machine is the "Brain" of robot autonomy. It allows users to build "Workflows" or "Automated Missions" by connecting different robot tasks into a visual sequence. This enables the robot to handle complex, multi-stage operations without human intervention.

Key Features

  • Visual Flow Builder: Drag-and-drop nodes to design mission logic (e.g., Go to Dock → Load Package → Go to Delivery).
  • Dynamic Decision Making: Use "If/Then" logic based on task outcomes—the robot can try a new path if its primary route is blocked.
  • Predefined & Custom Tasks: Combine core robot movements with custom integrations created in the "Integrations" library.
  • Real-time Flow Monitoring: Watch the active mission live—nodes light up as the robot reaches them.
  • Execution Controls: Start, Stop, Pause, and Resume automated missions directly from a unified dashboard.
  • Mission History: Review past mission performance, including how long each stage took and why any errors occurred.

User Workflow

  1. Design: The user opens the State Machine Editor and drags a "Navigation" node to the canvas.
  2. Connect: Links it to a "Pause" node (Wait for 30s) and then a "Charge" node.
  3. Save: Names the flow "Nightly_Security_Patrol."
  4. Execute: Clicks "Run." The robot begins following the logic, and the user watches its progress node-by-node.
© 2026 Robotoai. All rights reserved.