Robotics StackExchange | Archived questions

Importing files to Gazebo

Hey guys I am having difficulty in importing a building model into Gazebo, any assistance on this will be appreciated.

I'm trying to import a BIM model into Gazebo, as far as my understanding Gazebo do not support importing BIM model (yet). So I am trying to convert BIM to other file formats which gazebo supports. But all my attempts have been futile, as when imported there is no collision elements that are created in gazebo.

I am able to visualize the building, but there are no collisions generated. Is there anyway where the collisions can be automatically generated?

I am new to Gazebo and I am trying to understand how it works.

Note: By BIM I am referring to the .ifc file which can be converted to other file formats. I tried importing it to gazebo as .dae file(using blender) but the collisions were not present.

Asked by kumar09 on 2017-10-26 13:27:09 UTC

Comments

Hi Kummar09, I am facing the same problem, did you solve it?

Asked by Migo575 on 2021-03-15 07:22:30 UTC

Answers

You can not import .dae file directly. A model is described by .sdf file. You may turn to gazebo tutorial for help.Here is a link about mesh part. A model has two parts, one is collision part, another is visual part, .dae is in visual part. http://gazebosim.org/tutorials?tut=attach_meshes&cat=build_robot

Asked by Ji Cai on 2017-10-26 14:38:43 UTC

Comments

Oh I understand now, thanks a lot!. can you direct me on how to write my custom collision part for any of my model?

Asked by kumar09 on 2017-10-26 18:02:16 UTC