gfhome: capture through forgectrl; factory-board machine config

The runner's Machine subclass fetches lid/head images from the
forgectrl snapshot endpoint - forgectrl owns the imx-media pipeline
whenever a stream client (LightBurn) is connected, so direct V4L2
grabs fail busy. Head captures request lamp=0 (the cloud's focus
analysis needs torch-off images); the HCil measure-laser LED is still
driven directly. Direct capture remains the fallback when the daemon
is unreachable.

The sample config gains the factory-board settings: the estop motion
gate stays off (the board's estop sense reads low during any motion),
and the forgectrl URL is configurable.
This commit is contained in:
ScottW514
2026-08-07 19:13:28 -04:00
parent 2108b9706b
commit cf24bf3200
2 changed files with 75 additions and 2 deletions
@@ -26,3 +26,12 @@ max_start_temp: 30
z_home_offset: 0
warm_up_delay: 0
cool_down_delay: 0
# The factory board's estop sense line reads low during any motion, so
# it must not gate motion there; enable only on hardware with a real
# e-stop circuit.
estop_halts_motion: False
[FORGECTRL]
# Camera captures fetch from the forgectrl daemon (it owns the camera
# pipeline); direct V4L2 capture is the fallback.
url: http://127.0.0.1:8080