mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 06:00:09 +02:00
A colour camera probes at most 4 buffers a frame (each probe syncs a ~9 MB buffer's cache, which made the mono cameras miss frames), and one that goes stale twice in a row is paused (10 s, doubling to 160 s) and learned again instead of ft-camd exiting. The colour cameras run at 2 fps until a reader asks for more in frametop-hands/color-fps, which saves most of their decoding while only their brightness is needed. Each mono camera's latest near-black frame's mean goes in the ring (dark_mean), a measure of the room's IR light. The service now starts with --with-color; HANDS_CAMERAS=mono leaves the colour cameras out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
873 B
Desktop File
22 lines
873 B
Desktop File
# Template: the installer replaces @REPO@ with the repo path on the Frame.
|
|
[Unit]
|
|
Description=Frametop camera broker: the headset cameras' frames, for hand tracking
|
|
Documentation=file://@REPO@/hands/README.md
|
|
# It borrows XRService's camera buffers, so it comes and goes with SteamVR.
|
|
After=steamvr.service
|
|
PartOf=steamvr.service
|
|
|
|
[Service]
|
|
# On the host: the dev container can't reach XRService. Its file capabilities (set by
|
|
# hands/run.sh install) let it borrow the buffers; it drops them once set up. It exits when
|
|
# XRService restarts, and comes back to attach to the new one.
|
|
# The colour cameras run at 2 fps (their brightness picks the tracking cameras) until
|
|
# ft-hands asks for more; HANDS_CAMERAS=mono leaves them out.
|
|
ExecStart=@REPO@/hands/build/ft-camd --with-color --status 60
|
|
Restart=always
|
|
RestartSec=5
|
|
TimeoutStopSec=5
|
|
|
|
[Install]
|
|
WantedBy=steamvr.service
|