use mavlink port for msposd

pull/1582/head
Henk Wiedig 2024-10-19 19:34:39 +02:00
parent dfe9842583
commit c078505b09
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ case "$1" in
mavlink-routerd -c /etc/mavlink.conf > /dev/null 2>&1 & mavlink-routerd -c /etc/mavlink.conf > /dev/null 2>&1 &
else else
if [ "$router" -eq 2 ]; then if [ "$router" -eq 2 ]; then
msposd --master "$serial" --baudrate "$baud" --channels "$channels" \ msposd --channels "$channels" --master "$serial" --baudrate "$baud" \
--out 127.0.0.1:14555 -osd -r "$fps" --ahi "$ahi" > /dev/null & --out 127.0.0.1:$port_tx -osd -r "$fps" --ahi "$ahi" > /dev/null &
else else
mavfwd --channels "$channels" --master "$serial" --baudrate "$baud" -p 100 -t -a "$aggregate" \ 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 & --out 127.0.0.1:$port_tx --in 127.0.0.1:$port_rx > /dev/null &