Importing Collada meshes with textures
Hi,
I am a ROS user 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.