Advance simulation parity and 3-axis tutorial coverage

This commit is contained in:
2026-08-23 18:00:56 +08:00
parent 4a11d9692b
commit 938654b19d
107 changed files with 13537 additions and 3565 deletions

View File

@@ -28,7 +28,7 @@ assert.equal(minimal.bundle.status, "ready");
assert.equal(minimal.bundle.missing.length, 0);
assert.equal(minimal.response.kind, "COMMAND_RESULT");
assert.equal(minimal.response.payload.configuration.state, "TASK_READY");
assert.equal(minimal.bundle.runtime_fixtures[0].generated_hal, "linuxcnc/configs/sim/axis/minimal_xyz_cmds.hal");
assert.ok(minimal.bundle.runtime_fixtures.some((row) => row.generated_hal === "linuxcnc/configs/sim/axis/minimal_xyz_cmds.hal"));
const corexy = await startup("linuxcnc/configs/sim/axis/corexy/corexy_by_kins.ini", 1);
assert.equal(corexy.bundle.status, "ready");
@@ -37,6 +37,6 @@ assert.equal(corexy.response.kind, "COMMAND_RESULT");
assert.equal(corexy.response.payload.configuration.state, "TASK_READY");
console.log(JSON.stringify({ schema: "sim-case-startup-s8-02-sample.v1", status: "verified", fixture_policy: "user-authorized-runtime-copy", cases: {
minimal_xyz: { status: "ready", state: minimal.response.payload.configuration.state, runtime_fixture: minimal.bundle.runtime_fixtures[0].generated_hal, loader_hash: minimal.bundle.state_hash, startup_hash: minimal.response.payload.configuration.state_hash },
minimal_xyz: { status: "ready", state: minimal.response.payload.configuration.state, runtime_fixture: minimal.bundle.runtime_fixtures.find((row) => row.generated_hal)?.generated_hal ?? null, loader_hash: minimal.bundle.state_hash, startup_hash: minimal.response.payload.configuration.state_hash },
corexy_by_kins: { status: "ready", state: corexy.response.payload.configuration.state, fixtures: ["linuxcnc/configs/sim/axis/corexy/linuxcnc.var", "linuxcnc/configs/sim/axis/corexy/tool.tbl"], loader_hash: corexy.bundle.state_hash, startup_hash: corexy.response.payload.configuration.state_hash },
}, boundary: "fixtures are copied from executed LinuxCNC/runtime case inputs and are hash-locked; no unrelated basename substitution" }));