"Geometry type [6] not supported" error when loading a heightmap with ign gazebo instead of gz sim

Hi! I’ve been able to load my heightmap perfectly using gz sim world.sdf so far, but since that only works with ROS2 and I’d like to use ROS1 I’ve tried running this with ign gazebo world.sdf and get the following error:

~/gazebo_ws/worlds$ ign gazebo moon.sdf
[Err] [Conversions.cc:208] Geometry type [6] not supported
[Err] [Conversions.cc:208] [Err] [Conversions.cc:208] Geometry type [6] not supported
[Err] [Conversions.cc:208] Geometry type [6] not supported
[Err] [Conversions.cc:208] Geometry type [6] not supported
[GUI] [Err] [Conversions.cc:294] Geometry type [0] not supported

How can I fix this? Thank you in advance!

That’s probably not possible. gz sim is most probably from Gazebo Garden release which added the support for heightmaps. ign gazebo is Gazebo Fortress or older, which doesn’t have the support for heightmaps.

One possibility would be to add ROS 1 support to Gazebo Garden. I don’t think that’s an impossible task.

1 Like