继续完成 web-rtcp-5axis-sim-plan

结论:完成 LinuxCNC kinematics WASM ABI 覆盖,并将 web-rtcp-5axis-sim-plan 的 RTCP frame/boundary adapter 接到 xyzac-trt kinematics SDK;Node、build、browser smoke 验证通过。
This commit is contained in:
2026-06-21 16:44:29 +08:00
parent a6eda3fbff
commit 626bcfe8e3
101 changed files with 101586 additions and 770 deletions

View File

@@ -0,0 +1,19 @@
import { createSimulationStore } from "./state/store.js";
import { mountGmoccapyShell } from "./ui/gmoccapy-shell.js";
const app = document.querySelector("#app");
if (!app) {
throw new Error("Missing #app mount point");
}
const store = createSimulationStore();
const shell = mountGmoccapyShell(app, store);
window.webRtcp5AxisSimulation = {
getState: store.getState,
dispatch: store.dispatch,
getRegions: shell.getRegions,
};
store.dispatch({ type: "BOOT_READY" });