MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / BlockCommand

Interface BlockCommand

frontend/src/hooks/useBlockProgramExecution.tsx:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import { ServiceOptions } from '@/interfaces/ros/ServiceOptions';
10
11interface BlockCommand {
12 id: string;
13 instanceId: string;
14 type: 'move' | 'turn_right' | 'turn_left' | 'wait' | 'repeat' | 'forever' | 'if' | 'stand_up' | 'stand_down' | 'lock' | 'unlock';
15 value?: number;
16 unit?: string;
17 direction?: 'forward' | 'backward';
18 attachedBlocks?: string[];
19 nestedBlocks?: string[];
20}
21
22interface ExecutionState {
23 isRunning: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected