feat(unified): add 100% wired Radxa/G29 hub (HT, cockpit OSD, CRSF telemetry) & update README

This commit is contained in:
bleackstorm committed 2026-11-16 17:46:41 +01:00
1 parent f01bf1aeb3
commit 51a5d0c7ad
10 files changed
+1012 -26

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# Déploie et active le relais bidirectionnel RP2350 <-> UDP usb0 (:14552)
# sur la Radxa Zero 3W (192.168.1.1) pour le mode Tout-en-un 100% filaire.
set -euo pipefail
RADXA_HOST="${1:-root@192.168.1.1}"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "=== Déploiement du relais Tout-en-un G29/CRSF sur ${RADXA_HOST} ==="
scp "${SCRIPT_DIR}/radxa_g29_relay.py" "${RADXA_HOST}:/usr/local/bin/radxa_g29_relay.py"
ssh "${RADXA_HOST}" bash -s << 'EOF'
set -euo pipefail
chmod +x /usr/local/bin/radxa_g29_relay.py
cat << 'UNIT' > /etc/systemd/system/steamframe-g29-relay.service
[Unit]
Description=SteamFrame FPV Unified G29/CRSF <-> USB0 UDP Relay
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /usr/local/bin/radxa_g29_relay.py
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target
UNIT
systemctl daemon-reload
systemctl enable steamframe-g29-relay.service
systemctl restart steamframe-g29-relay.service
systemctl status --no-pager steamframe-g29-relay.service || true
EOF
echo "[+] Relais Tout-en-un installé et actif sur ${RADXA_HOST}:14552 !"