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 gazebo8install.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=dem&cat=buildworld 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: mtsthelens129 [Msg] Loading heightmap cache data: /home/hordur/.gazebo/paging/mtsthelens129/gazeboterrain00000000.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, heightmapdem.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 gdaltranslate, but the resulting .tif file does not show up either.
Any suggestion on what might be going on would be greatly appreciated.
Asked by hordur on 2017-09-21 05:21:35 UTC
Comments
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
Asked by iche033 on 2017-10-03 13:30:56 UTC