Setting up a Developer Environment (Toolchain)
The supported platforms for PX4 development are:
- Ubuntu Linux (22.04/20.04/18.04) — Recommended
- Windows (10/11) — via WSL2
- Mac OS
Supported Targets
The table below shows what PX4 targets you can build on each OS.
Target | Linux (Ubuntu) | Mac | Windows |
---|---|---|---|
NuttX based hardware: Pixhawk Series, Crazyflie | ✓ | ✓ | ✓ |
Linux-based hardware: Raspberry Pi 2/3 | ✓ | ||
Simulation: Gazebo SITL | ✓ | ✓ | ✓ |
Simulation: Gazebo Classic SITL | ✓ | ✓ | ✓ |
Simulation: ROS with Gazebo Classic | ✓ | ✓ | |
Simulation: ROS 2 with Gazebo | ✓ | ✓ |
Experienced Docker users can also build with the containers used by our continuous integration system: Docker Containers
Next Steps
Once you have finished setting up one of the command-line toolchains above:
- Install VSCode (if you prefer using an IDE to the command line).
- Install the QGroundControl Daily Build
- Continue to Building PX4 Software.