ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Problem loading huge .OBJ in Gazebo

asked 2017-05-22 09:40:21 -0500

schizzz8 gravatar image

Hi all,

I'm working on Ubuntu 14.04 with Gazebo 2.2.3 and I want to load the 3D models provided as .obj files by this dataset:

I followed this tutorial:

after that, I can see the model I created in the list, but if I try to insert it in the scene the window becomes black and gazebo gets stuck. The .dae file is 107mb, so maybe it's too big. Please, can someone point me out a solution?

Thanks, Federico

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-22 09:52:17 -0500

gvdhoorn gravatar image

This would be better asked over at, but I would suspect the mesh is indeed too large for Gazebo to load and render.

A few suggestions:

  • split it into multiple smaller segments
  • subsample it

Depending on what you actually want to do, subsampling might not be acceptable, but that is something only you would know.

PS: I would really recommend to use a newer Gazebo if possible. 2.2.3 is ancient, and all the newer releases are available from the Gazebo package repositories. See gazebo/tutorials/Which combination of ROS/Gazebo versions to use.

edit flag offensive delete link more

Question Tools



Asked: 2017-05-22 09:40:21 -0500

Seen: 1,924 times

Last updated: May 22 '17