CmvrControlStation/docs/task-flow/example.task.json
linbo ad1a42c761 feat: support multi-robot workflows and sync server protocol
Add independent robot connections, per-node device binding and isolated demo state. Improve canvas multi-selection, undo and parameter layouts. Remove remote configuration management and align protos with cmvr-es c8b71b2b. Include Release startup and loopback regression coverage.
2026-11-25 17:25:39 +08:00

119 lines
5.0 KiB
JSON

{
"executionPolicy": {
"automaticRetry": false,
"onError": "stop",
"order": "sequential",
"stopBehavior": "stop_scheduling_and_cancel_active_unary",
"waitStartsAfter": "operation_success"
},
"format": "cmvr.task-flow",
"groups": [
{
"id": "example-group",
"name": "offline example",
"nodes": [
{
"action": "接口 · ApplyUserCoordinateSystem",
"deviceId": "aubo_arm",
"deviceType": "机械臂",
"execution": {
"completion": "rpc_response",
"kind": "grpc_unary",
"method": "ApplyUserCoordinateSystem",
"request": {
"expected_revision": "0",
"header": {
"device_id": "aubo_arm"
},
"name": "测试坐标系"
},
"service": "cmvr.api.ArmService",
"timeoutMs": 180000
},
"id": "example-apply",
"kind": "task",
"name": "接口 · ApplyUserCoordinateSystem",
"operationId": "cmvr.api.ArmService.ApplyUserCoordinateSystem",
"parameters": {
"method": "ApplyUserCoordinateSystem",
"request": {
"expected_revision": "0",
"name": "测试坐标系"
},
"service": "cmvr.api.ArmService",
"timeoutMs": 180000
},
"waitMs": 3000,
"waitUnit": "s"
},
{
"children": [
{
"action": "接口 · moveL",
"deviceId": "aubo_arm",
"deviceType": "机械臂",
"execution": {
"completion": "rpc_response",
"kind": "grpc_unary",
"method": "moveL",
"request": {
"header": {
"device_id": "aubo_arm"
},
"options": {
"acceleration": 0.5,
"velocity": 0.1
},
"target": {
"rx": 0,
"ry": 0,
"rz": 0,
"x": 0.1,
"y": 0.2,
"z": 0.3
},
"user_coordinate_name": "测试坐标系",
"user_coordinate_revision": "0"
},
"service": "cmvr.api.ArmService",
"timeoutMs": 180000
},
"id": "example-movej-pose",
"kind": "task",
"name": "接口 · moveL",
"operationId": "cmvr.api.ArmService.moveL",
"parameters": {
"method": "moveL",
"request": {
"options": {
"acceleration": 0.5,
"velocity": 0.1
},
"target": {
"rx": 0,
"ry": 0,
"rz": 0,
"x": 0.1,
"y": 0.2,
"z": 0.3
},
"user_coordinate_name": "测试坐标系",
"user_coordinate_revision": "0"
},
"service": "cmvr.api.ArmService",
"timeoutMs": 180000
},
"waitMs": 3000,
"waitUnit": "s"
}
],
"count": 2,
"id": "example-loop",
"kind": "loop",
"name": "repeat"
}
]
}
]
}