Servers by jDrones

About communicate between navio2 and laptop


(DONGHYUN YOON) #1

Hello,
My situation is this :
(Navio2 + Raspberry : mavproxy + lte stick) -------- udp using ddns -----(laptop : mission planner)

I wanna use lte communication and ddns

So i type by Raspberry

sudo nano mavproxy.sh

In nano >>>

sudo mavproxy.py --master=udp:127.0.0.1:14550 --out=udp:myhost.ddns.net:14550 --nodtr --daemon

And it didnt work so i type

sudo crontab -e

remove the line
@reboot sudo sh /home/pi/mavproxy.sh
add the command instead:
@reboot sudo mavproxy.py --master=udp:127.0.0.1:14550 --out=udp:myhost.ddns.net:14550 --nodtr --daemon

And rasp just waiting heartbeating.

Somebody help me :joy:


(Stephen) #2

If MAVProxy is just waiting for the hearbeat, that would indicate that either
a) Ardupilot is not running
b) You’re using the incorrect --master IP or port

Take a look at the Navio2 documentation at https://docs.emlid.com/navio2/common/ardupilot/installation-and-running/ for getting it running.