Home | Tutorials | Wiki | Issues
Ask Your Question

The Question is regarding Collada (.dae) file.

asked 2019-05-03 01:46:16 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello, I am trying to do an important project but i am having some problems with .dae file.

I have already received a collada(.dae) file (I did not make it) and now my first task is to import it in Gazebo. I have seen all the tutorials but in that they are importing .dae files in Gazebo of a Robot. In my collada file I have a lot of images, camera id's and co-ordinates(x,y,z), so I am unsure as to where to begin in order to complete the task successfully. I am also unaware if we can import .dae file as the world file in gazebo. If someone can guide me to the right direction, it would be a huge help.

Thank You.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-05-03 12:59:53 -0500

Gazebo supports using COLLADA files as meshes (and their textures) for parts of a robot, and as skeleton animations. All other COLLADA features, including cameras, are currently ignored, so you can't use the COLLADA file as the world.

edit flag offensive delete link more

answered 2019-05-05 04:37:43 -0500

tsdk00 gravatar image

So, If you are using Blender to generate the .dae file, u can add that dae file to my_gazebo>models>model_name>meshes. Save your .dae file in the meshes folder. Then create model.config and model.sdf. In the model.sdf just highlight the .dae file like this image description. This sdf file u can call from your world file and that world file could be launched via a launch file. Good Luck!

Remember if you have textures in your collada file, the export as .obj and not as .dae

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-05-03 01:46:16 -0500

Seen: 49 times

Last updated: May 03