PX4 code can be developed on Linux, Mac OS, or Windows. We recommend Ubuntu Linux LTS edition as this enables building all PX4 targets, and using most simulators and ROS.
The table below show what PX targets you can build on each OS.
Target | Linux (Ubuntu) | Mac | Windows |
---|---|---|---|
NuttX based hardware: Pixhawk Series, Crazyflie, Intel® Aero Ready to Fly Drone | X | X | X |
Qualcomm Snapdragon Flight hardware | X | ||
Linux-based hardware: Raspberry Pi 2/3 | X | ||
Simulation: jMAVSim SITL | X | X | X |
Simulation: Gazebo SITL | X | X | |
Simulation: ROS with Gazebo | X |
The installation of the development environment is covered below:
If you're familiar with Docker you can also use one of the prepared containers: Docker Containers