Skip to content

Dependencies

Tiana Ton Nu edited this page Jun 15, 2020 · 2 revisions

These are the software dependencies that need to be installed before running the program.

Python 3.7

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

DroneKit

DroneKit allows us to command the vehicle over MAVLink and helps us get parameters like state information, vehicle movement, etc. Although originally written for use with drones, it can be used similarly with ArduRover to command a ground vehicle. It also provides a simple way to create and send custom MAVLink messages to the vehicle, useful for setting the servo motors for finer movement. 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's Python Library to send and receive messages to GCS with our XBee radios. To install, run pip3 install digi-xbee.

More info can be found here.

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.

pymavlink

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

To install, run pip3 install --user pymavlink.

mavproxy 1.6.1

MAVProxy is a command-line based ground control application for vehicles following MAVLink protocol. It is a useful tool that can be used to trace the MAVLink commands received by your vehicle. 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.

To install, run pip3 install msgpack.

Clone this wiki locally