PX4 Setup

Installing firmware for the PixHawk.

Step 1: Install QGC

Download the QGroundControl AppImage from the following link:

Extract the downloaded archive by running the following in the terminal

Go to the folder where the AppImage has been downloaded by:

cd ~
cd Downloads/
chmod +x ./QGroundControl.AppImage
./QGroundControl.AppImage  (or double click)

If everything has been done correctly, you should see a window of the world showing.

Step 2: Install the Toolchain

Follow the instructions here to install the PX4 toolchain:

PX4 Toolchain Setup

Step 3: Building the software

Run the following in the terminal:

# creates install directory. Change this if required.
mkdir -p ~/src
cd ~/src

# download Firmware
git clone https://github.com/PX4/Firmware.git
cd Firmware


#The following is what you have to do when you are going to work on a board.... Wait for it   :)
# building
make px4fmu-v2_default

# upload to board
make px4fmu-v2_default upload

For a more detailed and extensive build, check this:

Last updated

Was this helpful?