继续把 interp_execute.cc、interp_queue.cc、interp_find.cc 等 LinuxCNC 源文件纳入直接编译/链接路径,逐步删除临时 convert_g() wrapper 行为

结论:已将核心 LinuxCNC interpreter 源接入 standalone native 编译链接路径,移除 minimal runtime 中的手写 convert_g 行为,并通过 native probe 验证。
This commit is contained in:
2026-06-06 23:49:01 +08:00
commit 5025b0c1a1
95 changed files with 35453 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
canon_event=COMMENT: Comment
canon_event=STRAIGHT_TRAVERSE line=1 x=1 y=2 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=SET_FEED_RATE rate=120
canon_event=STRAIGHT_FEED line=2 x=3 y=4 z=0 a=0 b=0 c=0 u=0 v=0 w=0

View File

@@ -0,0 +1,5 @@
canon_event=STRAIGHT_TRAVERSE line=1 x=1 y=1 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=SET_FEED_RATE rate=60
canon_event=STRAIGHT_FEED line=2 x=3 y=1 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=STRAIGHT_FEED line=3 x=3 y=4 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=STRAIGHT_TRAVERSE line=4 x=0 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0

View File

@@ -0,0 +1,10 @@
canon_event=STRAIGHT_TRAVERSE line=1 x=1 y=2 z=3 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=SET_FEED_RATE rate=80
canon_event=COMMENT: interpreter: distance mode changed to incremental
canon_event=STRAIGHT_FEED line=2 x=1.5 y=1 z=5 a=0 b=0 c=0 u=0 v=0 w=0
setup.current_x=1.5
setup.current_y=1
setup.current_z=5
setup.parameter_5420=1
setup.parameter_5421=2
setup.parameter_5422=3

View File

@@ -0,0 +1,9 @@
execute_line_1=5
error_text=Cannot do g1 with zero feed rate
setup.current_x=0
setup.current_y=0
setup.current_z=0
setup.parameter_5420=0
setup.parameter_5421=0
setup.parameter_5422=0
absent=canon_event=STRAIGHT_FEED

View File

@@ -0,0 +1,2 @@
G0 X1.0 Y2.0 (Comment)
G1 X3.0 Y4.0 F120.0

View File

@@ -0,0 +1,4 @@
G90 G0 X1.0 Y1.0
G91 G1 X2.0 F60.0
G1 Y3.0
G90 G0 X0.0 Y0.0

View File

@@ -0,0 +1,2 @@
G90 G0 X1.0 Y2.0 Z3.0
G91 G1 X0.5 Y-1.0 Z2.0 F80.0

View File

@@ -0,0 +1 @@
G1 X1.0