Files
massive-cloud/server/plugins/manifests/coupler-panel.json

60 lines
2.7 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.
{
"id": "coupler-panel",
"name": "车钩面板检测",
"shortName": "coupler-panel",
"description": "基于点云的车钩面板偏转角与最大偏差测量(v1.2.1,来自 alg/delivery_v1.2.1/coupler_panel_release)。输出 θ_right / θ_ref 偏转角、dx_y / dx_z 最大 x 偏差及 D_y / D_z 面板偏差。v1.2.1 新增项点检验 Excel 报表(项点名称/理论尺寸/公差要求/测量结果/误差结果/测量结论)。",
"version": "1.2.1",
"schemaVersion": 1,
"category": "几何测量",
"requiresPointCloud": true,
"requiresCad": false,
"inputs": [
{
"name": "profile",
"label": "调参档位",
"type": "select",
"default": "train2_coupler",
"options": [
{ "value": "train2_coupler", "label": "train2 整车扫描(推荐)" },
{ "value": "auto", "label": "自动 (auto)" },
{ "value": "default", "label": "默认 (default)" },
{ "value": "high_density", "label": "高密度 (high_density)" },
{ "value": "low_density", "label": "低密度 (low_density)" }
],
"description": "train2_coupler:针对 train_2_1T 整车扫描优化,孔半径 11~19mm,含层隔离。auto:根据点云密度自动选档(不适用于整车扫描)。"
},
{
"name": "rightAxisSign",
"label": "右向轴符号",
"type": "select",
"default": "1",
"options": [
{ "value": "1", "label": "+1(车体右 = +y)" },
{ "value": "-1", "label": "-1(车体右 = -y)" }
],
"description": "若车体「右」方向为 +y 保持 +1;若为 -y 改为 -1。"
},
{
"name": "roiXMin", "label": "ROI X 最小值 (mm)", "type": "number", "default": 11526,
"description": "车钩面板局部 ROI 裁剪范围(相对于配准后 CAD 坐标系,train_2 默认值来自 roi_train2_coupler.json)。整车点云时必须保留有效值,否则算法处理全部点云会极慢。"
},
{ "name": "roiXMax", "label": "ROI X 最大值 (mm)", "type": "number", "default": 11733 },
{ "name": "roiYMin", "label": "ROI Y 最小值 (mm)", "type": "number", "default": 588 },
{ "name": "roiYMax", "label": "ROI Y 最大值 (mm)", "type": "number", "default": 1192 },
{ "name": "roiZMin", "label": "ROI Z 最小值 (mm)", "type": "number", "default": -950 },
{ "name": "roiZMax", "label": "ROI Z 最大值 (mm)", "type": "number", "default": 950 }
],
"runtime": {
"kind": "process",
"cmd": [
"{pythonBin}",
"{adapterDir}/coupler_panel_run.py",
"{inputJson}"
],
"envExtra": {
"PYTHONPATH": "{algRoot}/delivery_v1.2.1/coupler_panel_release"
},
"timeoutMs": 5400000
}
}