Open jaejunlee0538 opened 9 years ago
The differences are whether external models are included or not.
You can locate world files at /usr/share/gazebo-2.0/world
.
If the world files contain external model files which should be pulled from model repository, this happened.
<?xml version="1.0" ?>
<sdf version="1.4">
...
<include>
<uri>model://willowgarage</uri>
</include>
...
</sdf>
<?xml version="1.0" ?>
<sdf version="1.4">
<world name="default">
<include>
<uri>model://ground_plane</uri>
</include>
<include>
<uri>model://sun</uri>
</include>
<model name="box">
...
</model>
<model name="sphere">
...
</model>
<model name="cylinder">
...
</model>
</world>
</sdf>
run the following command to download gazebo model repository.
$ wget -r -R "index\.html*" http://models.gazebosim.org/
It will take long (in my case 59m 29s
).
Then you can find models.gazebosim.org
folder.
You have to copy all the model files into ~/.gazebo/models/
folder.
Then try to launch the problematic launch files.
They should be launched with no issue.
The idea is from ros-community
+Better workaround is to download models repository from bitbucket.
It took just only a few minutes and also working fine.
Thanks jaejunlee0538 a lot. It seems that gazebo try to download the missing model files. After I download this models from http://models.gazebosim.org/ to ~/.gazebo/models/. Everything works OK now.
I disconnected to Internet and worked well. but i dont know why but there's a connection problem ;-0
or edited both /usr/share/gazebo-2.2/setup.sh /usr/share/gazebo/setup.sh
from
export GAZEBO_MASTER_URI=http://localhost:11345 export GAZEBO_MODEL_DATABASE_URI=http://gazebosim.org/models
to
export GAZEBO_MASTER_URI="" export GAZEBO_MODEL_DATABASE_URI=""
and
$ source /usr/share/gazebo-2.2/setup.sh
then worked fine
Launch Files Working File
Launch Files Working Bad
What are the differences among them?
willowgarage_world.launch
mud_world.launch