Kiosk process owns its display lifecycle: waits for X11, keeps the fullscreen black canvas below video, stops deterministically on signal. Supervisor starts it before video, restarts only on process death, and shuts the whole process group down; X11 downtime never restarts the supervisor. Per-target opener/template abstractions for future MIPI.
35 lines
945 B
YAML
35 lines
945 B
YAML
display:
|
|
enabled: true
|
|
# Independent kiosk canvas process. It waits for X11 itself, keeps the
|
|
# fullscreen black canvas below video, and stops only on shutdown.
|
|
command: /usr/local/bin/groundstation-display
|
|
user: orangepi
|
|
display: :0
|
|
xauthority: /home/orangepi/.Xauthority
|
|
|
|
serial:
|
|
path: /dev/ttyS0
|
|
|
|
video:
|
|
enabled: true
|
|
aux_index: 5 # AUX2, zero-based
|
|
threshold: -922 # first 5% of CH6 knob remains management/off
|
|
command: fpv-video
|
|
|
|
logging:
|
|
enabled: true
|
|
path: /var/log/groundstation/groundstation.log
|
|
|
|
menu:
|
|
enabled: true
|
|
# CH5/AUX1. The menu fails closed whenever this reports armed.
|
|
arm_index: 4
|
|
armed_threshold: 0
|
|
# Default Mode 2 right-stick axes. Tune after observing final RC channels.
|
|
horizontal_index: 0
|
|
vertical_index: 1
|
|
direction_threshold: 512
|
|
repeat_ms: 220
|
|
# Configure an explicit confirm channel before enabling menu actions.
|
|
confirm_index: -1
|
|
confirm_threshold: 512 |