feat: initial commit - massive-cloud point cloud processing system
This commit is contained in:
49
server/plugins/manifests/coupler-panel.json
Normal file
49
server/plugins/manifests/coupler-panel.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "coupler-panel",
|
||||
"name": "车钩面板检测",
|
||||
"shortName": "coupler-panel",
|
||||
"description": "基于点云的车钩面板偏转角与最大偏差测量(v1.1,来自 alg/delivery_v1.1/coupler_panel_release)。输出 θ_right / θ_ref 偏转角、dx_y / dx_z 最大 x 偏差及 D_y / D_z 面板偏差。",
|
||||
"version": "1.1.0",
|
||||
"schemaVersion": 1,
|
||||
"category": "几何测量",
|
||||
"requiresPointCloud": true,
|
||||
"requiresCad": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "profile",
|
||||
"label": "调参档位",
|
||||
"type": "select",
|
||||
"default": "auto",
|
||||
"options": [
|
||||
{ "value": "auto", "label": "自动 (auto)" },
|
||||
{ "value": "default", "label": "默认 (default)" },
|
||||
{ "value": "high_density", "label": "高密度 (high_density)" },
|
||||
{ "value": "low_density", "label": "低密度 (low_density)" }
|
||||
],
|
||||
"description": "建议保持 auto,算法会根据点云密度自动选档。"
|
||||
},
|
||||
{
|
||||
"name": "rightAxisSign",
|
||||
"label": "右向轴符号",
|
||||
"type": "select",
|
||||
"default": "1",
|
||||
"options": [
|
||||
{ "value": "1", "label": "+1(车体右 = +y)" },
|
||||
{ "value": "-1", "label": "-1(车体右 = -y)" }
|
||||
],
|
||||
"description": "若车体「右」方向为 +y 保持 +1;若为 -y 改为 -1。"
|
||||
}
|
||||
],
|
||||
"runtime": {
|
||||
"kind": "process",
|
||||
"cmd": [
|
||||
"{pythonBin}",
|
||||
"{adapterDir}/coupler_panel_run.py",
|
||||
"{inputJson}"
|
||||
],
|
||||
"envExtra": {
|
||||
"PYTHONPATH": "{algRoot}/delivery_v1.1/coupler_panel_release"
|
||||
},
|
||||
"timeoutMs": 1200000
|
||||
}
|
||||
}
|
||||
47
server/plugins/manifests/flatness-suite.json
Normal file
47
server/plugins/manifests/flatness-suite.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "flatness-suite",
|
||||
"name": "平整度 / 平面度 / 轮廓测量",
|
||||
"shortName": "flatness-suite",
|
||||
"description": "平整度 / 平面度 / 轮廓 / 曲率 套件(直接调用 alg/平整度、平面度、轮廓测量/ 下的脚本:Plane_Estimation / Contour_Flatness / Curvature_Estimation)。运行需要 numpy + open3d;contour 子模块还需要 torch + trimesh + STL CAD。任意子模块缺依赖时自动跳过并在 message 里说明。",
|
||||
"version": "1.0.0",
|
||||
"schemaVersion": 1,
|
||||
"category": "几何测量",
|
||||
"requiresPointCloud": true,
|
||||
"requiresCad": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "module",
|
||||
"label": "测量模块",
|
||||
"type": "select",
|
||||
"default": "all",
|
||||
"options": [
|
||||
{ "value": "all", "label": "全部 (plane + contour + curvature)" },
|
||||
{ "value": "plane", "label": "平面拟合 (plane)" },
|
||||
{ "value": "contour", "label": "轮廓-平整度 (contour,需 STL)" },
|
||||
{ "value": "curvature", "label": "曲率估计 (curvature)" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "voxelSizeMm",
|
||||
"label": "采样 / RANSAC 阈值 (mm)",
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
"min": 0.1,
|
||||
"max": 10.0,
|
||||
"step": 0.1,
|
||||
"description": "平面拟合的距离阈值(同时也作为曲率搜索半径的基准 ×2)。"
|
||||
}
|
||||
],
|
||||
"runtime": {
|
||||
"kind": "process",
|
||||
"cmd": [
|
||||
"{pythonBin}",
|
||||
"{adapterDir}/flatness_suite_run.py",
|
||||
"{inputJson}"
|
||||
],
|
||||
"envExtra": {
|
||||
"ALG_ROOT": "{algRoot}"
|
||||
},
|
||||
"timeoutMs": 1200000
|
||||
}
|
||||
}
|
||||
45
server/plugins/manifests/train-measurement.json
Normal file
45
server/plugins/manifests/train-measurement.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "train-measurement",
|
||||
"name": "列车点云测距",
|
||||
"shortName": "train-measurement",
|
||||
"description": "基于配置 YAML 驱动的列车点云批量测距套件(v1.1)。支持「平面到平面 / 点到平面 / 点到点」三类任务,可在 3D 视图中拖拽 ROI 包围盒可视化配置。",
|
||||
"version": "1.1.0",
|
||||
"schemaVersion": 1,
|
||||
"category": "尺寸测量",
|
||||
"requiresPointCloud": true,
|
||||
"requiresCad": false,
|
||||
"uiPanel": "train-measurement",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "configPreset",
|
||||
"label": "测量配置预设",
|
||||
"type": "select",
|
||||
"default": "builtin",
|
||||
"options": [
|
||||
{ "value": "builtin", "label": "内置默认 (config/measurements.yaml)" },
|
||||
{ "value": "custom", "label": "自定义 YAML" }
|
||||
],
|
||||
"description": "选「自定义 YAML」后可在下方编辑器中修改测量任务,或在 3D 视图中拖拽 ROI 包围盒自动生成。"
|
||||
},
|
||||
{
|
||||
"name": "customYaml",
|
||||
"label": "自定义 YAML 配置",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "仅当上方选「自定义 YAML」时生效。为空时回落到内置默认 measurements.yaml。"
|
||||
}
|
||||
],
|
||||
"runtime": {
|
||||
"kind": "process",
|
||||
"cmd": [
|
||||
"{pythonBin}",
|
||||
"{adapterDir}/train_measurement_run.py",
|
||||
"{inputJson}"
|
||||
],
|
||||
"envExtra": {
|
||||
"PYTHONPATH": "{algRoot}/点云测距v1.1/train_measurement_system/src",
|
||||
"TRAIN_MEAS_ROOT": "{algRoot}/点云测距v1.1/train_measurement_system"
|
||||
},
|
||||
"timeoutMs": 1200000
|
||||
}
|
||||
}
|
||||
61
server/plugins/manifests/underframe-deflection.json
Normal file
61
server/plugins/manifests/underframe-deflection.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"id": "underframe-deflection",
|
||||
"name": "构架挠度测量",
|
||||
"shortName": "underframe-deflection",
|
||||
"description": "基于点云的高铁底架纵梁挠度测量(v1.1,来自 alg/delivery_v1.1/underframe_deflection)。v1.1 新增 CAD 基准配准与 ROI 裁剪支持,输出左右梁挠度、配准 RMS 及挠度曲线 PLY 叠加层。",
|
||||
"version": "1.1.0",
|
||||
"schemaVersion": 1,
|
||||
"category": "几何测量",
|
||||
"requiresPointCloud": true,
|
||||
"requiresCad": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "profile",
|
||||
"label": "调参档位",
|
||||
"type": "select",
|
||||
"default": "auto",
|
||||
"options": [
|
||||
{ "value": "auto", "label": "自动 (auto)" },
|
||||
{ "value": "M", "label": "动车组 (M)" },
|
||||
{ "value": "TC", "label": "拖车-控制 (TC)" },
|
||||
{ "value": "TP", "label": "拖车-供电 (TP)" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "toleranceMm",
|
||||
"label": "挠度容差 (mm)",
|
||||
"type": "number",
|
||||
"default": 3.0,
|
||||
"min": 0.5,
|
||||
"max": 10.0,
|
||||
"step": 0.5,
|
||||
"description": "超出此值标记为 fail,1.5× 以内标记为 warning。"
|
||||
},
|
||||
{
|
||||
"name": "skipRegistration",
|
||||
"label": "跳过 CAD 配准",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "若点云已在 CAD 坐标系中可跳过配准(需提供 CAD 基准时才生效)。"
|
||||
},
|
||||
{
|
||||
"name": "enableBilateral",
|
||||
"label": "启用双边滤波预处理",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "关闭可加速,但对噪声较大的点云精度会下降。"
|
||||
}
|
||||
],
|
||||
"runtime": {
|
||||
"kind": "process",
|
||||
"cmd": [
|
||||
"{pythonBin}",
|
||||
"{adapterDir}/underframe_deflection_run.py",
|
||||
"{inputJson}"
|
||||
],
|
||||
"envExtra": {
|
||||
"PYTHONPATH": "{algRoot}/delivery_v1.1"
|
||||
},
|
||||
"timeoutMs": 1200000
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user