Ask Your Question
0

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: http://buildingparser.stanford.edu/da...

I followed this tutorial: https://www.youtube.com/watch?v=aP4sD...

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
1

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

gvdhoorn gravatar image

This would be better asked over at answers.gazebosim.org, 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 570 times

Last updated: May 22 '17