mirror of https://github.com/OpenIPC/wiki.git
Update fpv-mavfwd.md (#415)
parent
1e1d8184ff
commit
66554dc46b
|
@ -4,19 +4,27 @@
|
|||
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:
|
||||
```
|
||||
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:
|
||||
```
|
||||
file="echo $(cat wfb.conf | base64) | base64 -d > /etc/wfb.conf"
|
||||
echo $file | nc -uq0 localhost 14650
|
||||
echo $file > /dev/udp/localhost/14550
|
||||
```
|
Loading…
Reference in New Issue