Robotics StackExchange | Archived questions

Load custom object into empty world

I am trying to load a .stl object created from blender into gazebo world, which looks like shown below.

image description

The object, however, is not being loaded into the world, through the model editor - > custom. image description

Is there a way to fix this?

Asked by Tonystark124 on 2015-09-04 00:36:10 UTC

Comments

Maybe this tutorial helps?

Asked by chapulina on 2015-09-04 01:26:11 UTC

thank you. will check that.

Asked by Tonystark124 on 2015-09-04 01:51:43 UTC

the tutorial doesn't say anything much about importing custom meshes. created n .stl.

Asked by Tonystark124 on 2015-09-04 02:01:03 UTC

Gazebo can use a .stl file instead of .dae. Anyway the .dae (collada) format is prefered. If you follow the tutorial using the .stl file it should work. I don't know so much about the model editor, normaly I use the SDF file, so i can just immagine that the .stl file is not so much supported as collada... Did you try to export the mash into a collada format?

Asked by Formigola on 2015-09-04 04:25:47 UTC

The object loaded this time with no problem. Do not know what was stopping me earlier. thank you for your help!

Asked by Tonystark124 on 2015-09-04 05:11:13 UTC

Answers