VWED_server/config/components/robot_scheduling.json

306 lines
13 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"label": "机器人调度",
"order": 7,
"blocks": [
{
"type": "Normal",
"name": "CAgvOperationBp",
"label": "机器人通用动作",
"description": "",
"inputParams": [
{
"name": "targetSiteLabel",
"type": "String",
"label": "目标站点名",
"description": "",
"required": true,
"defaultValue": null,
"options": []
},
{
"name": "spin",
"type": "Boolean",
"label": "允许随动",
"description": "",
"required": false,
"defaultValue": false,
"options": []
},
{
"name": "task",
"type": "JSONArray",
"label": "指令",
"description": "",
"required": false,
"defaultValue": null,
"options": [
{
"name": "binTask",
"type": "String",
"label": "binTask",
"description": "",
"required": false,
"defaultValue": null,
"options": [
{
"name": "param",
"type": "String",
"label": "参数",
"description": "",
"required": false,
"defaultValue": null,
"options": []
}
]
},
{
"name": "pick",
"type": "String",
"label": "顶升 pick",
"description": "",
"required": false,
"defaultValue": null,
"options": [
{
"name": "inspired_unique",
"type": "Boolean",
"label": "启用识别",
"description": "",
"required": false,
"defaultValue": null,
"options": []
},
{
"name": "unique_file",
"type": "String",
"label": "识别文件",
"description": "",
"required": false,
"defaultValue": null,
"options": []
}
]
},
{
"name": "drop",
"type": "String",
"label": "顶降 drop",
"description": "",
"required": false,
"defaultValue": null,
"options": [
{
"name": "inspired_unique",
"type": "Boolean",
"label": "启用识别",
"description": "",
"required": false,
"defaultValue": null,
"options": []
}
]
},
{
"name": "Wait",
"type": "String",
"label": "等待 Wait",
"description": "",
"required": false,
"defaultValue": null,
"options": [
{
"name": "wait_time",
"type": "Integer",
"label": "等待时间(ms)",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
]
}
]
}
],
"extraInputParamsFunc": "agvOperationBpExtraInputParams",
"outputParams": {},
"contextVariables": {
"containerName": {
"type": "String",
"label": "料箱名",
"description": null
}
},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 机器人通用动作 (CAgvOperationBp)\n\n### 描述\n本块用于执行机器人通用动作。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| targetSiteLabel | 必填 | String | 目标站点名 |\n| spin | 非必填 | Boolean | 允许随动 |\n| task | 非必填 | JSONArray | 指令 |\n\n### 输出参数\n无\n"
},
{
"type": "Normal",
"name": "CSelectAgvBp",
"label": "选择执行机器人",
"description": "",
"inputParams": [
{
"name": "priority",
"type": "Long",
"label": "优先级",
"description": "越大优先级越高",
"required": false,
"defaultValue": null,
"options": []
},
{
"name": "vehicle",
"type": "String",
"label": "指定机器人",
"description": "",
"required": false,
"defaultValue": null,
"options": []
},
{
"name": "group",
"type": "JSONArray",
"label": "指定机器人组",
"description": "指定的amr分组名称列表不指定留空\"\"",
"required": false,
"defaultValue": null,
"options": []
},
{
"name": "label_group",
"type": "JSONArray",
"label": "指定机器人标签组",
"description": "指定的amr标签名称列表不指定留空\"\"",
"required": false,
"defaultValue": null,
"options": []
},
{
"name": "keyRoute",
"type": "String",
"label": "关键路径",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {
"selectedAgvId": {
"type": "String",
"label": "选出的机器人",
"description": null
}
},
"children": {
"default": {
"label": "默认",
"childrenMinNum": 1,
"childrenMaxNum": -1
}
},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 选择执行机器人 (CSelectAgvBp)\n\n### 描述\n本块用于选择执行机器人。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| priority | 非必填 | Long | 优先级 |\n| vehicle | 非必填 | String | 指定机器人 |\n| group | 非必填 | String | 指定机器人组 |\n| keyRoute | 必填 | String | 关键路径 |\n\n### 输出参数\n无\n"
},
{
"type": "Normal",
"name": "VehicleStationBp",
"label": "获取机器人位置",
"description": "",
"inputParams": [
{
"name": "vehicle",
"type": "String",
"label": "指定机器人",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {
"station": {
"type": "String",
"label": "当前位置",
"description": null
},
"lastStation": {
"type": "String",
"label": "上次位置",
"description": null
}
},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 获取机器人位置 (VehicleStationBp)\n\n### 描述\n本块用于获取机器人位置。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| vehicle | 必填 | String | 指定机器人 |\n\n### 输出参数\n无\n"
},{
"type": "All",
"name": "GetBatteryLevelBp",
"label": "获取机器人电量",
"description": "",
"inputParams": [
{
"name": "vehicle",
"type": "String",
"label": "机器人ID",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {
"batteryLevel": {
"type": "Double",
"label": "电量",
"description": null
}
},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 获取机器人电量 (GetBatteryLevelBp)\n\n### 描述\n本块用于获取机器人电量。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| vehicle | 必填 | String | 机器人ID |\n\n### 输出参数\n无\n"
},
{
"type": "All",
"name": "GetPGVCodeBp",
"label": "获取机器人 PGV 码",
"description": "",
"inputParams": [
{
"name": "vehicle",
"type": "String",
"label": "机器人ID",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {
"codeInfo": {
"type": "Boolean",
"label": "二维码信息",
"description": null
}
},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 获取机器人 PGV 码 (GetPGVCodeBp)\n\n### 描述\n本块用于获取机器人 PGV 码。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| vehicle | 必填 | String | 机器人ID |\n\n### 输出参数\n无\n"
}
]
}