Can't import Collada files to Gazebo with texture

asked 2014-06-08 10:56:00 -0500

raptiye gravatar image

Hi,

I am working with ROS Hydro and trying to import Collada meshes with texture to Gazebo. I can import shape data with

<geometry>
     <mesh filename="package://model_testing/models/object1.dae"/>
</geometry>

However, I couldn't find a way to import the texture information. Since the Collada file already has the texture information, what I want to do is something like this:

<material name="my_material">
     <texture filename="package://model_testing/models/object1.dae"/>
</material>

This doesn't work. Could you show me the way out of this problem?

I also tried to wrap .jpg files to the model. I can do this with simple shapes like cylinders or boxes, but I couldn't manage to wrap an image to a Collada mesh. I didn't see any examples of this on the web either.

p.s. I asked the same question to answers.gazebo.org and didn't get an answer.

edit retag flag offensive close merge delete