mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-10 06:39:25 +08:00
7ab709c202
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
988 B
988 B
PX4 Simulation QuickStart
First install Docker (a free tool that runs containers).
The following command will then run a PX4 quadrotor simulation that you can connect to QGroundControl, MAVSDK or ROS 2 (on Linux, macOS, and Windows):
docker run --rm -it -p 14550:14550/udp px4io/px4-sitl:latest
That's it — open QGroundControl and fly!
::: tip
To try other vehicle types append the corresponding line below to the command:
-e PX4_SIM_MODEL=sihsim_airplane # Plane
-e PX4_SIM_MODEL=sihsim_standard_vtol # Standard VTOL
-e PX4_SIM_MODEL=sihsim_rover # Ackermann rover
For more information and options see Container Images (in Pre-built SITL Packages) and SIH Simulation.
:::