feat: 升级算法包 delivery_v1.1 → v1.2,新增任务级 CAD 与测距面板

- 算法包替换为 delivery_v1.2(coupler_panel 新增 autotune/layer_select,underframe_deflection 新增 single_beam 管线),删除 delivery_v1.1
- manifests/adapters 的 PYTHONPATH 与版本说明同步更新到 v1.2
- 新增任务级 CAD 文件支持(task_cad_files 表、上传/读取路由、TaskManager 全选与加载显示)
- 新增 train-measurement 自定义前端面板(YAML 编辑器 + 可视化 ROI 配置 + 3D 取点)
- PointCloudViewer 支持 PLY 叠加层渲染与 ROI 拾取
- Dockerfile 改用 Miniforge 安装 pythonocc-core,修复 libgomp/libstdc++ 依赖
This commit is contained in:
2026-06-11 02:30:04 +00:00
parent 16811100d1
commit cec0766e67
143 changed files with 3087 additions and 12604 deletions

View File

@@ -0,0 +1,40 @@
"""Public exception hierarchy for underframe_deflection.
Integrators should catch `DeflectionError` for any algorithm failure that
should be surfaced to the user. Subclasses indicate what specifically went
wrong so callers can render targeted error messages.
Non-fatal data-quality issues are not raised as exceptions; they are
reported via `DeflectionResult.quality_flags`.
"""
from __future__ import annotations
class DeflectionError(Exception):
"""Base class for all errors raised by the deflection pipeline."""
class InvalidPointCloudError(DeflectionError):
"""Raised when the input point cloud is malformed or unreadable."""
class InsufficientPointsError(DeflectionError):
"""Raised when the input has too few points to run the pipeline."""
class FrameInferenceError(DeflectionError):
"""Raised when the vehicle reference frame cannot be determined."""
class UnsupportedFormatError(InvalidPointCloudError):
"""Raised when the input file extension is not supported."""
__all__ = [
"DeflectionError",
"InvalidPointCloudError",
"InsufficientPointsError",
"FrameInferenceError",
"UnsupportedFormatError",
]