This page has moved to https://docs.px4.io/master/zh/simulation/multi-vehicle-simulation.html.
Click here if you are not redirected.
PX4 supports multi-vehicle simulation using the following simulators:
- Multi-Vehicle Sim with Gazebo (both with and without ROS)
- Multi-Vehicle Sim with FlightGear
- Multi-Vehicle Sim with JMAVSim
The choice of the simulator depends on the vehicle to be simulated, how "good" the simulation needs to be (and for what features), and how many vehicles need to be simulated at a time:
- FlightGear is the most accurate simulator, and as a result the most heavy weight. It might be used if you need a great simulation but not too many vehicles at a time. It can also be used if different types of vehicles need to be simulated at the same time.
- Gazebo is less accurate and less heavy-weight and supports many features and vehicles that aren't available for FlightGear. It can only simulate a single type of vehicle at a time, but it can simulate many more vehicles at a time than FlightGear.
- JMAVSim is a very light-weight simulator that supports only quadcopters. It is recommended if you need to support a lot of quadcopters, and the simulation only needs to be approximate.