Heightmaps aren't loading in Gazebo7

asked 2016-08-11 20:08:03 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm running Gazebo7 and can't seem to get any model files (or world files) with <heightmap> to load. It will sometimes cause Gazebo to crash unexpectedly. Are heightmaps still supported with Gazebo7? If so, what am I missing? The default heightmap.world and the apollo landing site and my custom heightmap model are all not loading. Other custom models have not problem loading. Do I need to use DEMs instead of heightmaps?

edit retag flag offensive close merge delete


How are you trying to load the heightmaps? Are you opening a world which has them or inserting them from the insert tab?

chapulina gravatar imagechapulina ( 2016-08-12 11:21:13 -0600 )edit

Both cause failures on my machine. Running from the command line with a .world file containing a heightmap attribute or inserting a model from the GUI's "insert" tab.

bybee.taylor gravatar imagebybee.taylor ( 2016-08-16 18:05:46 -0600 )edit

I am able to load worlds containing heightmaps using Gazebo7 on my machine. What's your OS and how did you install Gazebo? Do you see any errors printed if you run gazebo --verbose?

chapulina gravatar imagechapulina ( 2016-08-16 18:09:28 -0600 )edit

I am running Ubuntu 16.04 currently. The problem was first noted on Ubuntu 14.04 a few weeks ago. I upgraded to Ubuntu 16.04 and reinstalled Gazebo7 via the curl command on the installation page. The --verbose error when I click on those models to import include: [Err] [Visual.cc:2739] No mesh specified I'm a little concerned I changed around a gazebo resource path in that case since the default Apollo Landing site model gives this error in addition to my custom models.

bybee.taylor gravatar imagebybee.taylor ( 2016-08-16 18:25:52 -0600 )edit

I am running Ubuntu 16.04. Problem first appeared on 14.04. I upgraded to 16.04 and reinstalled Gazebo7 using the curl command on the tutorial. Running with the --verbose command gives the error [Err] [Visual.cc:2739] No mesh specified This is concerning to me since the default Apollo Landing site model gives this error. Hopefully I didn't mess up a gazebo resource path somewhere.

bybee.taylor gravatar imagebybee.taylor ( 2016-08-16 18:29:18 -0600 )edit