44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
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
|
|
|
|
osd:
|
|
# Flight OSD snapshots for the kiosk overlay: final RC channels, arm
|
|
# state, requested CH6 WFB power and decoded-video presence, published
|
|
# to tmpfs without blocking the UART path. The display process must read
|
|
# the same path (its -osd-state flag defaults to the value below).
|
|
state_path: /run/groundstation/osd-state.bin
|
|
arm_index: 4 # CH5/AUX1, zero-based
|
|
armed_threshold: 0
|
|
|
|
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 |