完成 xyzbc-trt working 任务复核
This commit is contained in:
@@ -145,8 +145,8 @@ tools/compare-xyzbc-trt-evidence.mjs
|
||||
|
||||
- 在 native evidence 中增加 `pathSampling`、`previewPath`、`executionPath`。
|
||||
- 在 Web evidence 中增加同名字段,字段结构必须与 native 完全一致。
|
||||
- 统一对比采样周期为 `samplePeriodMs = 20`。
|
||||
- 采集脚本可保留原始高频/低频轨迹,但写入对比 JSON 的曲线必须重采样到 20ms。
|
||||
- 统一对比采样周期暂定为 `samplePeriodMs = 50`。
|
||||
- 采集脚本可保留原始高频/低频轨迹,但写入对比 JSON 的曲线必须重采样到 50ms。
|
||||
- 预览路径从 LinuxCNC preview/canon 或 Web preview planner 采集;执行路径从 LinuxCNC `stat()`/HAL 反馈或 Web task/HAL runtime 采集。
|
||||
- 每个样本必须包含 `sampleIndex`、`timeMs`、`line`、`motionType`、`activeKinematics`、`tool`、`joint`、`tcp`、`toolAxis`、`feed`、`spindle`。
|
||||
- 对 B/C 旋转轴和 TCP/toolAxis 的计算必须以 `xyzbc-trt` kinematics/WASM 结果为准,不能用 UI 插值伪造。
|
||||
@@ -156,7 +156,7 @@ tools/compare-xyzbc-trt-evidence.mjs
|
||||
```json
|
||||
{
|
||||
"pathComparison": {
|
||||
"samplePeriodMs": 20,
|
||||
"samplePeriodMs": 50,
|
||||
"previewVsPreview": {},
|
||||
"executionVsExecution": {},
|
||||
"previewVsExecutionNative": {},
|
||||
|
||||
Reference in New Issue
Block a user