按建议,继续工作

结论:已修正 standalone setup 的 cutter_comp_firstmove 初始态以匹配 vendored LinuxCNC rs274ngc_pre.cc,并新增正向 G41.1/G40 cutter compensation motion fixture;native probe 全量验证通过。
This commit is contained in:
2026-06-07 21:37:50 +08:00
parent a8321f0aac
commit d02fe9e07f
7 changed files with 27 additions and 7 deletions

View File

@@ -394,6 +394,14 @@ Current verified progress:
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_runtime_state_stubs.cpp` now initializes
`setup::cutter_comp_firstmove` to the same initial value as vendored
`rs274ngc_pre.cc`, allowing the first cutter-compensated straight move to
follow LinuxCNC `interp_convert.cc::convert_straight_comp1()` instead of the
subsequent-move path. `tests/fixtures/gcode/cutter_comp_motion.ngc` and
`tests/fixtures/canon/cutter_comp_motion.events` pin positive `G41.1`/`G40`
compensated straight-feed output through vendored `interp_convert.cc` and
`interp_queue.cc`.
- `runtime/core/linuxcnc_wrap/linuxcnc_interp_minimal_runtime.cpp` now records
feed/control canonical boundary calls emitted by vendored LinuxCNC
conversion and queue code: `SET_TRAVERSE_RATE`, `SET_FEED_REFERENCE`,