gazebo world file show nothing [tutorial]
I'm doing gazebo tutorial http://gazebosim.org/tutorials?cat=gu...
I copied every code in the tutorial and ran the command
gazebo velodyne.world -u
However, gazebo show me the empty world. How can I get my velodyne world?
Can you add `--verbose` after `gazebo` to see what errors are printed? Also, is `velodyne.world` in the home directory (the one you're at)?
#chapulina Thank you for answering. when I add '--verbose' I couldn't see any error. Also velodyne,world is exactly in the home directory.
How did you install Gazebo? Also, what models are listed under the `Models` tab on the left pane?
What do you get printed into terminal if you run "echo $GAZEBO_MODEL_PATH"? If you look at this location, are there models `sun` and `ground_plane`?
Fun fact. If you write following command >$ gazebo nonexistent.world < the gazebo client will start with an empty world without any error. Are you sure your velodyne.world is located at some place gazebo can find it? Try running the command from the folder where the velodyne.world is located.
Same problem here. I also had the problem with the DEM tutorial (http://gazebosim.org/tutorials/?tut=dem).
@kumpakri: * with --version there is whether information nor an error; *
>$ echo $GAZEBO_MODEL_PATH
-><install_prefix>/share/gazebo-8/models
; * I'm very sure to have the correct path to my .world-file;I am using Gazebo version 8.6.0 build from source on a debian 9.11 system with cmake version 3.9.5 and gcc version 6.3.0. installed.
Did some idea or solution came in the meantime
Adding another default model with visuals like a gazebo works as expected. It seems that the "inline definition" with
<model name="velodyne_hdl-32"> [...] </model>
doen't work as explained in the mentioned tutorial.Ok. It was totally my fault and also extremly stupid. I added the model description before
<world>
instead of before</world>
as I was told to in the tutorial. The ability to read can be very helpful from time to time ;)However the DEM tutorial "results" still remain empty.
I also figured out that the resources have to be placed in
$HOME/.gazebo
. Also the DEMs have to be placed there. After copying the DEM from the tutorial to$HOME/.gazebo/dem
the map was displayed as expected.