Robotics StackExchange | Archived questions

Is there a file size limit on .stl files uploaded into the model editor, or is it entirely based on your computers hardware?

I am currently trying to build a test ground for a robot. I am able to load in small .stl files into the model editor for custom objects. When I try to add larger files Gazebo will crash, and I will have to restart my computer to get Gazebo running again. Is there a maximum file size for .stl files that can be loaded into editor? Is there a workaround for me to load a pretty hefty building into the model editor with out gazebo crashing? Is it a hardware issue? The smaller .stl files show up orange almost immediately. The larger files make the computer think for a minute, and then it dies. What can I do to fix this?

Asked by RobotsrCool on 2017-07-10 15:34:56 UTC

Comments

Have you tried running Gazebo in verbose mode and seeing if any errors are printed out?

Asked by chapulina on 2017-07-10 19:13:33 UTC

I have, and no errors are thrown. Gazebo will just crash, and then it wont load again until after a restart. I working with a Mac Server that has 12 core processor, and 128 gigs of Ram, but it does not have a dedicated graphics card.

Asked by RobotsrCool on 2017-07-11 09:11:10 UTC

This sounds like a bug. It would be helpful if you managed to get a backtrace and then ticket an issue about this.

Asked by chapulina on 2017-07-11 09:25:25 UTC

I realized the .STL file I was using was scaled using feet. I re-exported the .stl file using meters as the unit, and they loaded the files.

Asked by RobotsrCool on 2017-07-11 11:18:58 UTC

Glad to hear it worked out. Still, Gazebo should not crash when models are badly scaled :/

Asked by chapulina on 2017-07-11 11:33:22 UTC

Answers