mirror of https://github.com/OpenIPC/firmware.git
use mavlink port for msposd
parent
dfe9842583
commit
c078505b09
|
@ -40,8 +40,8 @@ case "$1" in
|
|||
mavlink-routerd -c /etc/mavlink.conf > /dev/null 2>&1 &
|
||||
else
|
||||
if [ "$router" -eq 2 ]; then
|
||||
msposd --master "$serial" --baudrate "$baud" --channels "$channels" \
|
||||
--out 127.0.0.1:14555 -osd -r "$fps" --ahi "$ahi" > /dev/null &
|
||||
msposd --channels "$channels" --master "$serial" --baudrate "$baud" \
|
||||
--out 127.0.0.1:$port_tx -osd -r "$fps" --ahi "$ahi" > /dev/null &
|
||||
else
|
||||
mavfwd --channels "$channels" --master "$serial" --baudrate "$baud" -p 100 -t -a "$aggregate" \
|
||||
--out 127.0.0.1:$port_tx --in 127.0.0.1:$port_rx > /dev/null &
|
||||
|
|
Loading…
Reference in New Issue