DEM heightmap not showing following DEM tutorial
I'm trying to use a Digital Elevation Model for heightmap in Gazebo 8.1.1 on Ubuntu 16.04 (installed using s gazebo8_install.sh), but I'm unable to get it to show up in the simulator. I have followed the DEM tutorial http://gazebosim.org/tutorials?tut=de... but after launching Gazebo nothing is showing except for the grid in the visualization window. I do see the heightmap listed under Models.
This is what is displayed in the terminal:
[Msg] Loading heightmap: mtsthelens_129 [Msg] Loading heightmap cache data: /home/hordur/.gazebo/paging/mtsthelens_129/gazebo_terrain_00000000.dat [Msg] Heightmap loaded. Process took: 0.245924 seconds
PNG based heightmap, such as the apollo landing site in the model DB does work correctly.
The included world file in gazebo, heightmap_dem.world does also work and shows the heightmap correctly, but I see that it uses a .tif heightmap. I have tried to change the file referenced in the tutorial from .dem to .tif using gdal_translate, but the resulting .tif file does not show up either.
Any suggestion on what might be going on would be greatly appreciated.
can you try removing ~/.gazebo/paging directory that holds all the heightmap cache data and try again? Also make sure you have gdal installed: dpkg -l | grep gdal