按建议,继续工作
结论:已新增 cutter compensation 平面切换拒绝 fixture,固定 vendored LinuxCNC convert_cutter_compensation_on() 与 convert_set_plane() 的错误路径;native probe 全量验证通过。
This commit is contained in:
@@ -55,6 +55,9 @@ semantic rewrites:
|
|||||||
- Full machine baselines beyond the current identity/trivial, `5axiskins`,
|
- Full machine baselines beyond the current identity/trivial, `5axiskins`,
|
||||||
TRT, delta, SCARA, PUMA, serial `genserkins`, hexapod `genhexkins`,
|
TRT, delta, SCARA, PUMA, serial `genserkins`, hexapod `genhexkins`,
|
||||||
pentapod `pentakins`, and other existing runtime probes are not established.
|
pentapod `pentakins`, and other existing runtime probes are not established.
|
||||||
|
- Positive cutter-compensated motion is not yet a standalone runtime baseline;
|
||||||
|
current cutter compensation coverage is limited to vendored interpreter
|
||||||
|
rejection paths.
|
||||||
- Fixture expectations are currently checked against the standalone vendored
|
- Fixture expectations are currently checked against the standalone vendored
|
||||||
source path, not by running a native LinuxCNC binary for every fixture.
|
source path, not by running a native LinuxCNC binary for every fixture.
|
||||||
|
|
||||||
|
|||||||
@@ -388,6 +388,12 @@ Current verified progress:
|
|||||||
`tests/fixtures/canon/plane_selection.events` pin `G17`/`G18`/`G19` plane
|
`tests/fixtures/canon/plane_selection.events` pin `G17`/`G18`/`G19` plane
|
||||||
switching and the `SELECT_PLANE` canonical boundary emitted by vendored
|
switching and the `SELECT_PLANE` canonical boundary emitted by vendored
|
||||||
`interp_convert.cc::convert_set_plane()`.
|
`interp_convert.cc::convert_set_plane()`.
|
||||||
|
- `tests/fixtures/gcode_errors/cutter_comp_plane_change.ngc` and
|
||||||
|
`tests/fixtures/canon_errors/cutter_comp_plane_change.expected` pin the
|
||||||
|
LinuxCNC error path for attempting a plane change after `G41.1` enables
|
||||||
|
cutter radius compensation. The source basis is vendored
|
||||||
|
`interp_convert.cc::convert_cutter_compensation_on()` and
|
||||||
|
`interp_convert.cc::convert_set_plane()`.
|
||||||
- `runtime/core/linuxcnc_wrap/linuxcnc_interp_minimal_runtime.cpp` now records
|
- `runtime/core/linuxcnc_wrap/linuxcnc_interp_minimal_runtime.cpp` now records
|
||||||
feed/control canonical boundary calls emitted by vendored LinuxCNC
|
feed/control canonical boundary calls emitted by vendored LinuxCNC
|
||||||
conversion and queue code: `SET_TRAVERSE_RATE`, `SET_FEED_REFERENCE`,
|
conversion and queue code: `SET_TRAVERSE_RATE`, `SET_FEED_REFERENCE`,
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ Negative fixture coverage includes:
|
|||||||
- zero-feed `G1`
|
- zero-feed `G1`
|
||||||
- arc radius mismatch
|
- arc radius mismatch
|
||||||
- zero-radius arc
|
- zero-radius arc
|
||||||
|
- cutter compensation plane-change rejection
|
||||||
- read-only named parameter writes
|
- read-only named parameter writes
|
||||||
- read-only numbered parameter writes
|
- read-only numbered parameter writes
|
||||||
- missing tool
|
- missing tool
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ Current validation is intentionally mechanical:
|
|||||||
source-probe level. Serial `genserkins`, hexapod `genhexkins`, and pentapod
|
source-probe level. Serial `genserkins`, hexapod `genhexkins`, and pentapod
|
||||||
`pentakins` have native runtime baselines; full runtime machine baselines for
|
`pentakins` have native runtime baselines; full runtime machine baselines for
|
||||||
userspace genser flows are not yet established.
|
userspace genser flows are not yet established.
|
||||||
|
- Cutter compensation negative interpreter paths are fixture-covered through
|
||||||
|
vendored `interp_convert.cc`, but a positive cutter-compensated motion
|
||||||
|
runtime baseline is not yet established for the standalone harness.
|
||||||
- Browser/WASM C ABI and JS SDK layers are not yet built for the full
|
- Browser/WASM C ABI and JS SDK layers are not yet built for the full
|
||||||
interpreter/planner core.
|
interpreter/planner core.
|
||||||
- OPFS persistence is not yet connected to INI, tool table, parameter file, or
|
- OPFS persistence is not yet connected to INI, tool table, parameter file, or
|
||||||
|
|||||||
6
wasm-port/tests/fixtures/canon_errors/cutter_comp_plane_change.expected
vendored
Normal file
6
wasm-port/tests/fixtures/canon_errors/cutter_comp_plane_change.expected
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
execute_line_1=0
|
||||||
|
execute_line_2=0
|
||||||
|
execute_line_3=5
|
||||||
|
error_text=Cannot change planes with cutter radius compensation on
|
||||||
|
canon_event=COMMENT: interpreter: cutter radius compensation on left
|
||||||
|
absent=canon_event=SELECT_PLANE plane=3
|
||||||
3
wasm-port/tests/fixtures/gcode_errors/cutter_comp_plane_change.ngc
vendored
Normal file
3
wasm-port/tests/fixtures/gcode_errors/cutter_comp_plane_change.ngc
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
G90 G17 G0 X0 Y0
|
||||||
|
G41.1 D0.2
|
||||||
|
G18
|
||||||
Reference in New Issue
Block a user