Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

MavProxy allows the user to forward MavLink messages to other devices in the network over UDP. In this page we go over how to set up MavProxy to connect to other devices such as an antenna, what to watch out for when parsing the UDP message, and how to set up the Mission Planner SITL simulation to work with MavProxy.

Setting Up MavProxy

  • Download and install MavProxy https://ardupilot.org/mavproxy/docs/getting_started/download_and_installation.html

    • This tutorial was tested on Windows but Linux should work the same

  • To test if you are able to receive MavLink messages from the drone, enter the command mavproxy --master=udp:xxx.x.x.x:port_number with xxx.x.x.x:port_number replaced with the ip and port number that the MavLink messages are being sent through.

  • You should now see a connection with data about the drone in the mavproxy GUI

  • We will now forward the MavLink messages to other devices in our network. You can exit out of

  • MavProxy by using ctrl+c on the terminal until it's closed

  • Ensure that your devices are connected to the same network that the device running MavProxy is connected to.

  • Enter the command mavproxy --master=udp:xxx.x.x.x:port_number --out xxx.x.x.x:port_number with the first xxx.x.x.x:port_number again replaced with the ip and port number that the MavLink messages are being sent through, and the second xxx.x.x.x:port_number replaced with the IP of the device that the data is being forwarded to and any free port on that device.

Setting Up Mission Planner SITL with MavProxy

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.