按建议,继续完成后续工作

结论:probe_semantics 已纳入 native LinuxCNC rs274 side-by-side fixture baseline,验证文档已同步,完整 native probes 验证通过。
This commit is contained in:
2026-06-07 23:10:30 +08:00
parent acb207c23e
commit 0bb161a4bb
3 changed files with 31 additions and 8 deletions

View File

@@ -24,6 +24,7 @@ FIXTURES=(
oword_subroutine
percent_file_finish
position_params
probe_semantics
program_end_modal_reset
spindle_orient
threading_sync
@@ -328,6 +329,16 @@ normalize_standalone_events() {
next
}
if (line == "TURN_PROBE_ON" || line == "TURN_PROBE_OFF") {
print line
next
}
if (line ~ /^STRAIGHT_PROBE /) {
print "STRAIGHT_PROBE"
next
}
if (line ~ /^STRAIGHT_(TRAVERSE|FEED) /) {
split(line, fields, /[[:space:]]+/)
for (i in fields) {
@@ -598,6 +609,18 @@ normalize_upstream_rs274_output() {
next
}
if (line == "TURN_PROBE_ON()" || line == "TURN_PROBE_OFF()") {
value = line
sub(/\(\)$/, "", value)
print value
next
}
if (line ~ /^STRAIGHT_PROBE\(/) {
print "STRAIGHT_PROBE"
next
}
if (line ~ /^STRAIGHT_(TRAVERSE|FEED)\(/) {
op = line
sub(/\(.*/, "", op)