安装文件和代码
The supported platforms for PX4 development are:
- Ubuntu Linux (22.04/20.04/18.04) — Recommended
- Windows (10/11) — via WSL2
- Mac OS
支持的编译目标
下表显示了您可以在每个操作系统上构建何种 PX平台的固件编译。
平台 | 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
Gazebo dependencies
如果你对 Docker 比较熟悉的话你也可以使用预先构建好的容器作为开发环境:Docker 容器。
- Install VSCode (if you prefer using an IDE to the command line).
- Install the QGroundControl Daily Build
- Continue to Building PX4 Software.