完善 xyzbc-trt 刀具偏置闭环
This commit is contained in:
@@ -1,5 +1,99 @@
|
||||
# 05-验收证据
|
||||
|
||||
## Tool table 到 tool-offset 闭环验收
|
||||
|
||||
### 命令
|
||||
|
||||
```bash
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run smoke:node
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run evidence:web
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run evidence:compare
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run build
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run smoke:browser
|
||||
```
|
||||
|
||||
### 结果
|
||||
|
||||
```text
|
||||
xyzbc_trt_web_app_smoke=ok
|
||||
web_xyzbc_trt_evidence=.../working/evidence/web-xyzbc-trt-evidence.json
|
||||
compare_xyzbc_trt_status=fail fail_count=5
|
||||
gmoccapy_static_build=ok
|
||||
xyzbc_trt_browser_smoke=ok
|
||||
```
|
||||
|
||||
### JSON 摘要
|
||||
|
||||
```text
|
||||
web.toolRuntime.ready = true
|
||||
web.toolRuntime.activeOffsetApplied = true
|
||||
web.toolRuntime.activeToolNumber = 2
|
||||
web.toolRuntime.activePocket = 2
|
||||
web.toolRuntime.kinematics.toolOffsetZ = 10
|
||||
web.toolRuntime.pathTool.length = 10
|
||||
web.toolRuntime.pathTool.diameter = 8
|
||||
web.toolRuntime.vismach.toolOffset = 10
|
||||
web.toolOffsetClosure.closed = true
|
||||
web.coverage.toolTableToToolOffsetClosed = true
|
||||
web.previewPath.samples[0].tool = { id: 2, pocket: 2, length: 10, diameter: 8 }
|
||||
web.executionPath.samples[0].tool = { id: 2, pocket: 2, length: 10, diameter: 8 }
|
||||
compare.summary.passCount = 19
|
||||
compare.summary.failCount = 5
|
||||
compare.checks["web tool table active offset drives kinematics, path, and Vismach"].status = pass
|
||||
```
|
||||
|
||||
结论:
|
||||
|
||||
- `xyzbc-trt.tbl` 中 `T2 P2 Z10 D8` 已进入 Web tool DB 运行时摘要。
|
||||
- 当前 active tool offset 已同时写入 kinematics `motion.tooloffset.z` 等效值、路径样本 tool 字段和 Vismach `tool-offset` pin。
|
||||
- 默认程序本身无 T/M6/G43,因此 Web evidence 记录 `defaultActivationUsed=true`,用于证明 tool table 偏置链路;带 T/M6/G43 的程序会使用程序扫描命令。
|
||||
- compare 仍保持失败是正确结果:剩余 5 项仍来自 native path evidence 未重采集。
|
||||
|
||||
## Vismach 3D pin 驱动模型验收
|
||||
|
||||
### 命令
|
||||
|
||||
```bash
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run smoke:node
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run evidence:web
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run evidence:compare
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run build
|
||||
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run smoke:browser
|
||||
```
|
||||
|
||||
### 结果
|
||||
|
||||
```text
|
||||
xyzbc_trt_web_app_smoke=ok
|
||||
web_xyzbc_trt_evidence=.../working/evidence/web-xyzbc-trt-evidence.json
|
||||
compare_xyzbc_trt_status=fail fail_count=5
|
||||
gmoccapy_static_build=ok
|
||||
xyzbc_trt_browser_smoke=ok
|
||||
```
|
||||
|
||||
### JSON 摘要
|
||||
|
||||
```text
|
||||
web.status = ready-for-wasm-runtime
|
||||
web.blockers = []
|
||||
web.vismachEquivalent.pins = table-x,saddle-y,spindle-z,tilt-b,rotate-c,tool-offset,x-offset,z-offset
|
||||
web.vismachEquivalent.pinValues.table-x = 43
|
||||
web.vismachEquivalent.pinValues.saddle-y = -32.15
|
||||
web.vismachEquivalent.pinValues.spindle-z = -11.306
|
||||
web.vismachEquivalent.pinValues.tool-offset = 84.019
|
||||
web.vismachEquivalent.pinValues.x-offset = -20
|
||||
web.vismachEquivalent.pinValues.z-offset = -15
|
||||
web.vismachEquivalent.halNets.length = 9
|
||||
web.vismachEquivalent.semanticBoundary = web_threejs_vismach_equivalent_driven_by_xyzbc_trt_hal_pins
|
||||
```
|
||||
|
||||
结论:
|
||||
|
||||
- Web 3D 参考模型已由 Vismach 等效 pin 状态驱动。
|
||||
- canvas dataset 已输出 `threeVismachPins`、`threeVismachTransforms`、`threeVismachPinDrivenModel`,后续浏览器 smoke 可直接断言。
|
||||
- `smoke:browser` 已断言默认 `xyzbc-trt`、三类 worker runtime ready、canvas 非空、Vismach pin/transform dataset。
|
||||
- compare 仍保持失败是正确结果:剩余 5 项仍来自 native path evidence 未重采集。
|
||||
|
||||
## evidence 字段与路径对比实现验收
|
||||
|
||||
### 命令
|
||||
@@ -45,6 +139,8 @@ uiEquivalence
|
||||
vismachEquivalent
|
||||
ngcguiSubroutines
|
||||
demoPrograms
|
||||
vismachEquivalent.pinValues
|
||||
vismachEquivalent.transforms
|
||||
```
|
||||
|
||||
当前 compare evidence 已包含:
|
||||
|
||||
Reference in New Issue
Block a user