Skip to content

Test with Ardupilot and PX4 SITL simulators

Ardupilot SITL simulator

Install and run Ardupilot simulator by following the original guide: Basic multiplatform (Linux, Windows, MacOS) installation

PX4 Gazebo simulator

Here is the guide for PX4 Gazebo sim.

MAVProxy

If you have not installed MAVProxy yet, do it:

sudo apt-get install python-opencv python-wxgtk2.8 python-pip python-dev python-lxml python3-lxml
sudo pip install MAVProxy

Start all together

Refer to Connect MAVLink drone to start UDP server and get its port number.

Make sure autopilot simulator is up and running, then start MAVProxy to forward telemetry data to GCS.uno server (replace GCS_UNO_SERVER_HOST with you server's host or IP address and DRONE_PORT with the UDP port set in drone's settings:

mavproxy.py --master=udp:127.0.0.1:14550 --out=udpout:GCS_UNO_SERVER_HOST:DRONE_PORT
For example, test GCS.uno server is running on localhost (IP=127.0.0.1) with drone's UDP port=34111:
mavproxy.py --master=udp:127.0.0.1:14550 --out=udpout:127.0.0.1:34111

If everything is OK, you should see your drone online in the dashboard. Try to make manual (semi-automatic) or automatic mission flight;