Gazebo hang in ardupilot: SOLVED

Hi,
i’m trying to launch gazebo with ardupilot SITL simulation, i use the software on a laptop with RTX3060, I can launch gazebo with empty worlds and even with complex worlds without lags.
If I try the iris_arducopter_runway.world from ardupilot_gazebo repository the gazebo hangs displaying a blank rectangle (without the logo…).

The output of --verbose is:

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 11.10.2
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.17.0.1
[Wrn] [ModelDatabase.cc:340] Getting models from[http://models.gazebosim.org/]. This may take a few seconds.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.17.0.1

What can I do to debug (there’s a more verbose option ?)

Thanks,
Igor

I don’t know why, but if I wait for 5/6 minutes the sim starts, after the first time, it starts in a few seconds.

Igor

It’s downloading the model database from the internet. This has always been a UX hell in Gazebo - there’s nothing telling you the progress of the download. And until the download is done, the simulation is unresponsive.

Yes, after 5 minutes is working and I don’t need to wait anymore.
Maybe a printf("Waiting, download in progress....\n"); will be helpful :slight_smile:

Thanks,
Igor