Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requsting List of world names #230

Open
Walid-khaled opened this issue Dec 7, 2022 · 7 comments
Open

Requsting List of world names #230

Walid-khaled opened this issue Dec 7, 2022 · 7 comments

Comments

@Walid-khaled
Copy link

after finishing setup and running the simulation, this problem arises.
photo_2022-12-08_01-03-35

@iche033
Copy link
Collaborator

iche033 commented Dec 8, 2022

This happens when the simulator is trying to download models from our 3D models server. We observed intermittent download failures recently and have upgraded the server instance. You can try launching the simulator again.

If you still run into the same issue, can you check the the version of your libignition-fuel-tools7-dev package?

dpkg -l | grep libignition-fuel-tools7-dev

Make sure it's the latest version 7.2.0. If not, update the package:

sudo apt udpate
sudo apt install libignition-fuel-tools7-dev

After that, try launching the simulator again.

@Walid-khaled
Copy link
Author

I followed the same steps, still receiving the same error

@iche033
Copy link
Collaborator

iche033 commented Dec 8, 2022

Are you using source build or docker? What command did you run to launch simulation?

@Walid-khaled
Copy link
Author

I tried both and I got the same error. The command I tried as mentioned here: https://github.com/osrf/mbzirc/wiki/Running-the-Demo

for example,
source install/setup.bash
ros2 launch mbzirc_ign spawn.launch.py name:=usv world:=simple_demo model:=usv type:=usv x:=15 y:=0 z:=0.3 R:=0 P:=0 Y:=0

@iche033
Copy link
Collaborator

iche033 commented Dec 10, 2022

I'll need to see more of the console output to know what the issue is.

Can you try just launching a simple gazebo world without MBZIRC and see if the simulator is working for you? e.g.

ign gazebo -v 4 shapes.sdf

or

ign gazebo -v 4 tunnel.sdf

@Walid-khaled
Copy link
Author

The console output for the first command:
1

while the second takes much time and reported the same message (Requesting List of world names) but finally worked.
2

@iche033
Copy link
Collaborator

iche033 commented Dec 12, 2022

while the second takes much time and reported the same message (Requesting List of world names) but finally worked.

oh it could be that it's just taking a while to download the MBZIRC models. You can run the following to pre-download all the models to local cache (~/.ignition/fuel/fuel.ignitionrobotics.org/openrobotics/models):

ign fuel download -v 4 -j 8 --type model -u "https://fuel.ignitionrobotics.org/OpenRobotics/collections/mbzirc"

After that, try launching mbzirc simulator. It can take a while to load all the assets into simulation, up to 1 minute depending on your machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants