docs: record pause wasm implementation plan
This commit is contained in:
32
备忘/16备用暂停按钮实现详细过程.txt
Normal file
32
备忘/16备用暂停按钮实现详细过程.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
已经看到文档的核心结论:暂停必须同时作用在 task/interpreter 和 motion/trajectory 两层。下一步我会定位 wasm-port 是否已有 task/hal/tp 导出,以及前端暂停按钮当前只改了哪些状态。
|
||||
|
||||
|
||||
wasm-port 已经有 linuxcnc_task_hal_wasm.cpp、linuxcnc_motion_runtime.c 和 TP wasm 包装层,说明方案不是从零写暂停,而是把 task pause/resume 与 motion pause/resume 状态对齐并向前端暴露。现在我会读这些封装的关键段落和现有测试,再生成 work/working8 的推进文档。
|
||||
|
||||
|
||||
现有 working/17 显示前端层曾经通过过“位置冻结”测试,但这不等于 wasm 语义已经完整对标,因为底层 task 恢复状态、motion paused 字段、STEP 自动回暂停等还偏简化。我会把这一区分写进任务矩阵,避免后续把前端表象通过误判为底层完成。
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user