Skip to content

安装文件和代码 ​

TIP

You only need a toolchain if you want to modify and build PX4 from source. If you just want to run PX4 simulation without changing the code, use a pre-built Docker container or .deb package instead.

The supported platforms for PX4 development are:

支持的编译目标 ​

下表显示了您可以在每个操作系统上构建何种 PX平台的固件编译。

平台Linux (Ubuntu)macOSWindows
NuttX based hardware: Pixhawk Series, Crazyflie✓✓✓
Linux-based hardware: Raspberry Pi 2/3✓
Simulation: Gazebo SITL✓✓✓
Simulation: ROS 2 with Gazebo✓✓
Simulation: Gazebo Classic SITL✓
Simulation: ROS with Gazebo Classic✓

Experienced Docker users can also build with the containers used by our continuous integration system: Docker Containers

Gazebo dependencies ​

如果你对 Docker 比较熟悉的话你也可以使用预先构建好的容器作为开发环境:Docker 容器。