Repository navigation
v0.2.0: WebControl 0.2.0
WebControl 0.2.0
The first release after the move to the Rust backend and React UI. The main changes are
fixes for the controller settings and serial link, found while cutting on a real
Maslow (holey 51.27, PCB v1.1).
Safety and reliability
- Settings no longer corrupt the controller's PID values. 0.1.0 rewrote every
$
setting on connect. The firmware's number parser read$24=1.000000as 1.00000011, and
51.27 ignores PID weights above 1, leaving the motors with zero gain. Every$value is
now written in a form the firmware stores exactly. Out-of-range PID values already on a
controller are repaired when WebControl connects. - Only settings that differ are written on connect. WebControl reads
$$first and
writes only what has changed, plus$13. A change to$38(chain over sprocket)
restarts the controller cleanly. - Nothing that moves the machine is sent after an alarm until you press Stop. Before,
Home's final plunge could still be sent after a "sled not keeping up" alarm. - Lost lines are recovered automatically. If the controller never receives a line, it
is sent again in under a second. If it is lost twice, the job pauses at that line and
Resume sends it again. Before, the job could hang. - Line pacing matches v0.94 by default.
New
- Adjustable line pacing. A preset menu in the run panel (v0.94 50 ms, Min 50/25/0 ms,
or Custom), plus Settings → WebControl Settings → "Line pacing" and "Line pacing gap
(ms)". It can be changed mid-job. - Live send stats. The run panel shows lines/min and lost lines. Tap for the current
stretch, the whole job, and the last 10 settings tried.PACING …key=value lines go to
the logs so settings can be compared after a cut. - The loaded file's name shows above Play/Pause/Stop and in the viewer footer, and
every open screen updates live. - Version and build commit in the status bar, so you can check you're on the latest
build. - Optical calibration (experimental, off by default). Uses a USB webcam or the Pi
camera module to measure a printed calibration target. It fits motor spacing, motor
offset and both chain tolerances, and writes them only after you press Accept. Turn it on
in Settings → WebControl Settings → "Optical calibration (experimental)". It hasn't been
tested with real camera hardware yet; feedback is welcome.
iPad and layout
- Landscape: the header fits on one row, and the viewer fills its box with controller
messages below it. - Portrait: no scrolling. Job status and Stop are always visible.
- Touch: buttons are 44 px on touch screens.
G-code handling (fixes for issues reported on the original WebControl)
- Lower-case G-code is read the same way the firmware reads it (WebControlCNC#177, WebControlCNC#102). Typed
g20,m0,m6andm3now take effect correctly. G2/G3arcs withRare converted toI/J(WebControlCNC#120). Firmware 51.27 doesn't read
R, and 51.292 cuts a negativeRthe short way round. Arcs in relative-mode (G91)
files are now sent with absolute end points, which is how the firmware reads them.
Impossible arcs pause the job with an alert.- Resuming mid-file is refused when X/Y were never set absolutely before that line.
Settings and UI fixes
- GroundControl
.iniimport:zaxis = 1.0now imports as on (WebControlCNC#90), and decimal
commas are converted, or refused when ambiguous. - Comma decimals: "2,5" is accepted in every number field (WebControlCNC#114). "1,500" is refused
as ambiguous. - Gcode editor line numbers: the editor shows line numbers (WebControlCNC#51).
- Home and Return to Center errors name the bad safe-height setting (WebControlCNC#135).
- Settings sync messages: changes WebControl makes to the controller's settings on
connect are shown in the console (WebControlCNC#23). - Setting descriptions are refreshed from the defaults (WebControlCNC#70).
- "Controller: unknown" no longer appears after a page reload.
- Large-file alert: it now says the preview stops at 300,000 lines and the whole file
still runs (WebControlCNC#185).
Install / update
On the Pi: webcontrol-update, or install the tarball with its install-pi.sh. Verify
downloads against SHA256SUMS.