What are Workflows?
Workflows in Cyberwave let you create automated sequences of robot operations. Connect nodes visually to build complex behaviors without writing procedural code.Workflows run on Cyberwave’s cloud infrastructure, ensuring reliable execution even when your local machine is offline.
Workflow Components
Nodes
Nodes are the building blocks of workflows. Each node performs a specific action:Twin Nodes
Control digital twin position, rotation, and state
Joint Nodes
Set individual joint positions or run trajectories
Condition Nodes
Branch based on sensor data or twin state
Delay Nodes
Add timing between operations
Connections
Connections define the execution flow between nodes:- Sequential: Execute nodes one after another
- Parallel: Execute multiple nodes simultaneously
- Conditional: Branch based on conditions
Creating a Workflow
Using the SDK
Using the Dashboard
- Navigate to Workflows in the dashboard
- Click Create Workflow
- Drag nodes from the palette to the canvas
- Connect nodes by dragging from output to input ports
- Configure each node’s parameters
- Click Save and Run
Executing Workflows
Manual Execution
Triggered Execution
Workflows can be triggered by:- Schedule: Run at specific times (cron)
- Events: Run when sensor data matches conditions
- API: Trigger from external systems
Monitoring Executions
Track workflow execution status and results:Example: Inspection Workflow
A typical inspection workflow might include:Best Practices
Keep workflows focused
Keep workflows focused
Create separate workflows for distinct operations rather than one large workflow. This makes debugging and maintenance easier.
Add error handling
Add error handling
Include condition nodes to handle failure cases gracefully. Consider what should happen if a joint can’t reach its target.
Use meaningful names
Use meaningful names
Name nodes and workflows descriptively. “Move to inspection position” is better than “Node 1”.