Skip to content
Tiana Ton Nu edited this page Mar 7, 2020 · 28 revisions

In order to run quick_scan.py, there are a few dependencies we need to install beforehand.

Python 3.7

This is the version of Python we use. You can access the download page here.

DroneKit

DroneKit allows us communicate with the vehicle over MAVLink and helps us get parameters like state information, vehicle movement, etc. You can find documentation here.

To install, run pip3 install dronekit --user, and ensure you're downloading using Python 3.7, not Python 2.

You also need the DroneKit simulator, dronekit_sitl: pip3 install dronekit-sitl --user

Xbee Python Library

We use the Digi-XBee Library. You can install it with pip3 install digi-xbee.

The API of this library is identical to Digi's library, so you can refer to Digi's documentation.

pySerial

pySerial helps automatically select the appropriate backend for the serial port running Python. Find more information about pySerial here.

To install, run pip3 install pyserial.

OpenCV 3 for Python

OpenCV is our computer vision library for the vehicle. Find more information here.

To install, run pip3 install opencv-python

pymavlink

pymavlink is a Python implementation of the MAVLink protocol, and you can find documentation here.

To install, run pip3 install --user pymavlink.

mavproxy 1.6.1

MAVProxy is a GC for UAV's. Find more information about it here.

To install, refer to this installation page. It has several dependencies - wxPython, gnureadline, billiard, numpy pyparsing.

msgpack

Used for compressing and decompressing JSON messages to/from GCS.

pip3 install msgpack

Tools

Here are the tools that we use for development. They may or may not be necessary depending on what you're working on. The team lead should be familiar with every tool.

  • 3DR Solo mobile app

  • QGroundControl

  • XCTU

  • FlightGear simulator