2026-11-18 09:22:04 +08:00
|
|
|
{
|
|
|
|
|
"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": [
|
|
|
|
|
{
|
2026-11-25 17:25:39 +08:00
|
|
|
"action": "接口 · moveL",
|
2026-11-18 09:22:04 +08:00
|
|
|
"deviceId": "aubo_arm",
|
|
|
|
|
"deviceType": "机械臂",
|
|
|
|
|
"execution": {
|
|
|
|
|
"completion": "rpc_response",
|
|
|
|
|
"kind": "grpc_unary",
|
2026-11-25 17:25:39 +08:00
|
|
|
"method": "moveL",
|
2026-11-18 09:22:04 +08:00
|
|
|
"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",
|
2026-11-25 17:25:39 +08:00
|
|
|
"name": "接口 · moveL",
|
|
|
|
|
"operationId": "cmvr.api.ArmService.moveL",
|
2026-11-18 09:22:04 +08:00
|
|
|
"parameters": {
|
2026-11-25 17:25:39 +08:00
|
|
|
"method": "moveL",
|
2026-11-18 09:22:04 +08:00
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|