ArduPilot / MAVProxy

MAVLink proxy and command line ground station
GNU General Public License v3.0
460 stars 674 forks source link

configure mavproxy with serial and udp #1008

Open zeev-mindali opened 2 years ago

zeev-mindali commented 2 years ago

Dear all,

i want to connect ardupilot in serial on one side, and mission planner as UDP on other side. i was able to open the serial port and getting heart beat and data from the serial on mavproxy. but when i try to connect udpin (tried also udpout) i see that there packets that sent. but when i try to connect Mission Planner (the FC is with APM) i getting timeout, and don't able to connect. i tried on windows and osx (intel chip) with no success.

how can i make it work?

RishabhBhat2021 commented 2 years ago

What command are you using for the mavproxy? Try this

mavproxy.py --master=<serial_port> --out <phone_ip_address>:<port>

Example

mavproxy.py --master=/dev/ttyACM0 --out 192.168.2.91:14540

(tested on setup: PX4 + Ubuntu Laptop<---UDP--->Android Phone)

And make sure ports are allowed on your Windows machine (AntiVirus & Windows Defender)