Update fpv-mavfwd.md (#415)

pull/419/head
viktorxda 2024-10-03 16:21:41 +02:00 committed by GitHub
parent 1e1d8184ff
commit 66554dc46b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 5 deletions

View File

@ -4,19 +4,27 @@
OpenIPC FPV - mavfwd tool OpenIPC FPV - mavfwd tool
------------------------- -------------------------
The idea is to use telemetry ports for a remote setup: Edit **/etc/wifibroadcast.cfg**:
```diff
[gs_mavlink]
peer = 'connect://127.0.0.1:14550' # outgoing connection
-# peer = 'listen://0.0.0.0:14550' # incoming connection
+peer = 'listen://0.0.0.0:14550' # incoming connection
``` ```
echo cli -s .video0.fps 120 | nc -uq0 localhost 14650
Update settings:
```
echo cli -s .video0.fps 120 > /dev/udp/localhost/14550
``` ```
Update drone key: Update drone key:
``` ```
file="echo $(cat gs.key | base64) | base64 -d > /etc/drone.key" file="echo $(cat gs.key | base64) | base64 -d > /etc/drone.key"
echo $file | nc -uq0 localhost 14650 echo $file > /dev/udp/localhost/14550
``` ```
Update configuration: Update configuration:
``` ```
file="echo $(cat wfb.conf | base64) | base64 -d > /etc/wfb.conf" file="echo $(cat wfb.conf | base64) | base64 -d > /etc/wfb.conf"
echo $file | nc -uq0 localhost 14650 echo $file > /dev/udp/localhost/14550
``` ```