安装文件和代码
The supported platforms for PX4 development are:
- Ubuntu Linux (22.04/20.04/18.04) — Recommended
- Windows (10/11) — via WSL2
- Linux
支持的编译目标
下表显示了您可以在每个操作系统上构建何种 PX平台的固件编译。
平台 | Linux (Ubuntu) | Mac | Windows |
---|---|---|---|
NuttX based hardware: Pixhawk Series, Crazyflie | X | X | ✓ |
Linux-based hardware: Raspberry Pi 2/3 | X | ||
Simulation: Gazebo SITL | ✓ | ✓ | ✓ |
Simulation: Gazebo Classic SITL | X | X | ✓ |
Simulation: ROS with Gazebo Classic | X | X | |
Simulation: ROS 2 with Gazebo | X | ✓ |
不同操作系统的开发环境的安装请参阅:
Next Steps
如果你对 Docker 比较熟悉的话你也可以使用预先构建好的容器作为开发环境:Docker 容器。
- Install VSCode (if you prefer using an IDE to the command line).
- Install the QGroundControl Daily Build
- Continue to Building PX4 Software.