Multi-Drone sim QgroundControl failure

Hello everyone,

I am following up on this previously closed thread: Accel Fail Error for Multi Drone Sim
As mentioned in the docs for multi-vehicle sim,Multi-Vehicle Simulation with Gazebo | PX4 Guide (main)
When I run the commands
PX4_SYS_AUTOSTART=4001 PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 1
PX4_GZ_STANDALONE=1 PX4_SYS_AUTOSTART=4001 PX4_GZ_MODEL_POSE="0,1" PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 2

This causes both of these drones to fail due to
ERROR [sensors] Accel #0 fail: TIMEOUT!

Running
make px4_sitl gz_x500
makes it work for a single drone but not for the other drone spawned using the previous command

Have you found the solution? I am currently facing the same exact problem

I think it was mostly a resource issue for me. Try exiting other processes or put

export PX4_SIM_SPEED_FACTOR = 0.1 in .profile

Hi, just wanna say thanks for the advice that I was able to run the simulation in 1/10 of its real speed. Btw did you do something about the simulation speed (cause it’s very slow) by tweaking the Gazebo settings or just let it be?

Force gazebo transport onto loopback, set GZ_IP: 127.0.0.1

It most likely is a multicast issue if not a resource one, this should fix for multi drone setups.