按建议,继续工作
结论:已新增 G53 机床坐标正向 fixture 和增量模式拒绝 fixture,固定 vendored LinuxCNC find_ends()/convert_straight() 行为;native probe 全量验证通过。
This commit is contained in:
5
wasm-port/tests/fixtures/canon/g53_machine_coordinates.events
vendored
Normal file
5
wasm-port/tests/fixtures/canon/g53_machine_coordinates.events
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
canon_event=SELECT_PLANE plane=1
|
||||
canon_event=STRAIGHT_TRAVERSE line=1 x=5 y=5 z=5 a=0 b=0 c=0 u=0 v=0 w=0
|
||||
canon_event=STRAIGHT_TRAVERSE line=2 x=1 y=2 z=3 a=0 b=0 c=0 u=0 v=0 w=0
|
||||
canon_event=SET_FEED_RATE rate=90
|
||||
canon_event=STRAIGHT_FEED line=3 x=4 y=5 z=6 a=0 b=0 c=0 u=0 v=0 w=0
|
||||
5
wasm-port/tests/fixtures/canon_errors/g53_incremental.expected
vendored
Normal file
5
wasm-port/tests/fixtures/canon_errors/g53_incremental.expected
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
execute_line_1=0
|
||||
execute_line_2=5
|
||||
error_text=Cannot use g53 incremental
|
||||
canon_event=COMMENT: interpreter: distance mode changed to incremental
|
||||
absent=canon_event=STRAIGHT_TRAVERSE line=2
|
||||
3
wasm-port/tests/fixtures/gcode/g53_machine_coordinates.ngc
vendored
Normal file
3
wasm-port/tests/fixtures/gcode/g53_machine_coordinates.ngc
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
G90 G17 G0 X5 Y5 Z5
|
||||
G53 G0 X1 Y2 Z3
|
||||
G1 X4 Y5 Z6 F90
|
||||
2
wasm-port/tests/fixtures/gcode_errors/g53_incremental.ngc
vendored
Normal file
2
wasm-port/tests/fixtures/gcode_errors/g53_incremental.ngc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
G91
|
||||
G53 G0 X1
|
||||
Reference in New Issue
Block a user