mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 09:11:11 -07:00
Controller promoted to canonical driver repo grblHAL-glowforge
The step backend now lives in github.com/ScottW514/grblHAL-glowforge (grblHAL driver convention: core submodule, driver.c HAL, board header). Add build-glowforge.sh, update the BRINGUP runbook (no -t throttle, EEPROM path, kill-before-scp, producer stats line, reset/disconnect semantics), and teach bench_m2.py to parse the F: status field (no spindle registered = no FS: field). Settings-write crash fix is upstream as grblHAL/core PR 999.
This commit is contained in:
@@ -75,9 +75,12 @@ class Grbl:
|
||||
state = st[1:].split('|')[0]
|
||||
if not states or states[-1] != state:
|
||||
states.append(state)
|
||||
for f in st.split('|'):
|
||||
for f in st[1:-1].split('|'):
|
||||
# FS:feed,speed with a spindle registered; F:feed without
|
||||
if f.startswith('FS:'):
|
||||
peak = max(peak, float(f[3:].split(',')[0]))
|
||||
elif f.startswith('F:'):
|
||||
peak = max(peak, float(f[2:].split(',')[0]))
|
||||
if state.startswith('Idle'):
|
||||
return peak, states
|
||||
time.sleep(poll)
|
||||
|
||||
Reference in New Issue
Block a user