41 lines
2.0 KiB
Plaintext
41 lines
2.0 KiB
Plaintext
wasm-port/docs/porting-steps-standalone.md 的 Phase 9/10 继续推进,并直接补上第一批独立 kinematics WASM ABI。
|
||
做全量 kinematics ABI
|
||
|
||
完成内容:
|
||
新增独立 kinematics WASM C ABI:[linuxcnc_kinematics_wasm.c](/home/cnc/桌面/cnc_wams/wasm-port/runtime/core/linuxcnc_wrap/linuxcnc_kinematics_wasm.c)
|
||
|
||
新增构建脚本:[build_kinematics_wasm.sh](/home/cnc/桌面/cnc_wams/wasm-port/tools/build_kinematics_wasm.sh)
|
||
|
||
新增 SDK:[linuxcnc-kinematics.js](/home/cnc/桌面/cnc_wams/wasm-port/runtime/sdk/src/linuxcnc-kinematics.js)
|
||
并从 [index.js](/home/cnc/桌面/cnc_wams/wasm-port/runtime/sdk/src/index.js) 导出
|
||
|
||
新增 Node/WASM smoke:[verify_kinematics_wasm.sh](/home/cnc/桌面/cnc_wams/wasm-port/tests/wasm/node/verify_kinematics_wasm.sh)
|
||
[verify_kinematics_wasm.mjs](/home/cnc/桌面/cnc_wams/wasm-port/tests/wasm/node/verify_kinematics_wasm.mjs)
|
||
|
||
更新文档:[porting-steps-standalone.md](/home/cnc/桌面/cnc_wams/wasm-port/docs/porting-steps-standalone.md)
|
||
[README.md](/home/cnc/桌面/cnc_wams/wasm-port/runtime/sdk/README.md)
|
||
|
||
写入新接续文件:[text39.txt](/home/cnc/桌面/cnc_wams/textbak/text39.txt)
|
||
|
||
当前生成的独立 kinematics WASM 产物:
|
||
linuxcnc_xyzac_trt_kinematics.js
|
||
linuxcnc_xyzac_trt_kinematics.wasm
|
||
linuxcnc_xyzbc_trt_kinematics.js
|
||
linuxcnc_xyzbc_trt_kinematics.wasm
|
||
验证已通过:
|
||
EMSDK_QUIET=1 source /home/cnc/emsdk/emsdk_env.sh >/dev/null && wasm-port/tests/wasm/node/verify_kinematics_wasm.sh
|
||
输出包含:
|
||
kinematics_wasm_node_smoke=ok
|
||
准确状态现在是:xyzac-trt / xyzbc-trt TRT kinematics 独立 WASM ABI 已完成第一批;但不能说 LinuxCNC 所有逆解算法都已完整移植到 WASM。全量 kinematics family 仍需继续逐个按 native probe -> 独立 WASM module -> SDK smoke 的路径补齐。
|
||
|
||
|
||
|
||
|
||
|
||
文档更新会比较小:把 “下一步要做 Worker/store” 改为 “已接线”,把当前边界标为 Web simulation promoted,同时仍明确 hardware/realtime kernel/external user-M/tool DB 不支持。历史 M18/M13 记录不改。
|
||
|
||
|
||
|
||
|
||
|