Files
groundstation/deploy/config.yml
T

51 lines
1.6 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, the adaptive-link contract values 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
# Operator-selected VTX power table identifiers (0 = none selected yet).
# Static configuration is operator intent only: it is never rendered or
# serialized as applied VTX state, and CH6 acts only as the temporary
# maxPower ceiling.
vtx_table_gen: 0
vtx_table_hash: 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