PX4 Autopilot

This tool allows you to develop, build and debug PX4 and other dronecode software projects.

PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active worldwide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and submersibles.

In this page you can follow the instruction on how to set up PX4 with your board.

Supported boards

There are multiple boards that support the PX4 Autopilot tool. If you are not sure that your board supports the PX4 flight stack, check the list in the link bellow to make sure your board is listed there.

Getting started

To start building PX4 firmware from source, you should first install the PX4 toolchain. This provides you with all the tools required to develop, build and debug PX4 Autopilot, but the same tools are also often used for other software projects. Depending on the Operating System you are using the installation process is different.

Linux setup:

To get the PX4 environment set up on Linux follow the instructions provided in the PX4 webpage linked bellow. You can follow the instructions of the video or the step-by-step guide. You can return to this guide once you have installed the toolchain right before the Raspberry Pi chapter.

Windows setup:

Installing a WSL in your system is the first step for working with the PX4 development environment. If you already have it installed, you can skip the first step.

The link bellow leads to the PX4 webpage with instructions on how to set up WSL2 in your Windows 10/11 environment and install the PX4 toolchain. There are also instructions on how to link VisualCode to your WSL and also how to link QGroundControl.

Help

In case there are any issues with installing or using PX4 use the support page linked bellow:

Or check the FAQ if you have any similar issues.

Last updated