# Gz multi vehicle simulation stuck even not load on cpu

**URL:** <https://discuss.px4.io/t/gz-multi-vehicle-simulation-stuck-even-not-load-on-cpu/49055>\
**Category:** PX4 Autopilot\
**Created:** [June 3, 2026, 3:45pm UTC](https://discuss.px4.io/t/gz-multi-vehicle-simulation-stuck-even-not-load-on-cpu/49055 "2026-06-03T15:45:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazy-robotics](https://discuss.px4.io/user_avatar/discuss.px4.io/crazy-robotics/32/21620_2.png) [@crazy-robotics](https://discuss.px4.io/u/crazy-robotics)\
**Post date:** [June 3, 2026, 3:45pm UTC](https://discuss.px4.io/t/gz-multi-vehicle-simulation-stuck-even-not-load-on-cpu/49055/1 "2026-06-03T15:45:01Z")

</div>

I am testing a flocking algorithm in PX4 SITL with ROS2. I spawn multi vehcile(10-15) in SITL by following the command  
termial-1

```auto
PX4_SYS_AUTOSTART=4001 PX4_GZ_MODEL_POSE="2,-0.5" PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4

```

terminal-2

```auto
PX4_SYS_AUTOSTART=4001 PX4_GZ_MODEL_POSE="4,-0.5" PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 1

```

and so on. After takeoff command, some vehicles left on the ground `QGC` showed flying. The simulation was going fine, CPU consumption is nominal.

 ![Screenshot from 2026-06-03 20-27-45](https://discuss.px4.io/uploads/default/original/3X/7/6/768cb7e29a73dcfeff6d158bc3aae8c890e02f68.jpeg)

**SITL SETUP**  
OS: Ubuntu 24  
PX4: 1.17.0alpha  
GZ Sim: Harmonic  
ROS2: Jazzy

---

<div class="post-metadata">

**Author:** ![system](https://discuss.px4.io/uploads/default/original/3X/7/3/73ce918bdcd64854de904f0c8d9ab70ca9723f2a.png) [@system](https://discuss.px4.io/u/system)\
**Post date:** [September 1, 2026, 4:19pm UTC](https://discuss.px4.io/t/gz-multi-vehicle-simulation-stuck-even-not-load-on-cpu/49055/2 "2026-09-01T16:19:55Z")

</div>

Closed on September 1, 2026, 4:19pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
