Wire LinuxCNC tool table for cutter comp

This commit is contained in:
cnc
2026-05-22 15:38:22 +08:00
parent 3dae570f88
commit ca03981d3f
13 changed files with 119 additions and 49 deletions

View File

@@ -46,6 +46,7 @@ done < linuxcnc-rs274-source-files.txt
for source in \
core/src/canon_event_sink.cpp \
core/src/linuxcnc_canon_bridge.cpp \
core/src/linuxcnc_tooldata_fixture.cpp \
core/src/rtcp_kinematics.cpp \
core/src/simulator_gcode_controls.cpp \
core/tools/linuxcnc_rs274_dump.cpp; do
@@ -205,6 +206,12 @@ expected_cutter_comp = [
("linear-feed", 11, 17, -3),
("linear-feed", 12, 17, -20),
("linear-feed", 13, 0, 0),
("linear-feed", 16, 17, 3),
("linear-feed", 17, 17, 20),
("linear-feed", 18, 0, 0),
("linear-feed", 21, 17, -3),
("linear-feed", 22, 17, -20),
("linear-feed", 23, 0, 0),
]
actual_cutter_comp = [
(event["type"], event["line"], event["end"]["x"], event["end"]["y"])