Development Guide

Installing Files and Code

Usage of the Homebrew package manager for Mac OS X is recommended. The installation of Homebrew is quick and easy: installation instructions.

After installing Homebrew, copy these commands to your shell:

brew tap PX4/homebrew-px4
brew tap osrf/simulation
brew update
brew install git bash-completion genromfs kconfig-frontends gcc-arm-none-eabi
brew install astyle cmake ninja
# simulation tools
brew install ant graphviz sdformat3 protobuf eigen opencv

Then install the required python packages:

sudo easy_install pip
sudo pip install pyserial empy

Snapdragon Flight

Developers working on Snapdragon Flight should use an Ubuntu VM for the time being and follow the Linux instructions. Qualcomm provides reliable tooling for Ubuntu exclusively. The PX4 dev team had the most consistent experience with VMWare, in particular when it comes to USB stability.

Simulation

OS X comes with CLANG pre-installed. No further installation steps are required.

Editor / IDE

And finally download and install the Qt Creator app: Download

Now continue to run the first build!