The Question is regarding Collada (.dae) file.
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.
Asked by yash on 2019-05-03 01:46:16 UTC
Answers
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.
Asked by chapulina on 2019-05-03 12:59:53 UTC
Comments
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 .
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
Asked by tsdk00 on 2019-05-05 04:37:43 UTC
Comments