Adding Color and Textures to a Model

asked 2018-12-24 00:08:54 -0500

VansFannel gravatar image

I'm using Gazebo 9.5.0 and ROS Melodic.

I'm following the tutorial Adding Color and Textures to a Model but there are a lot of things wrong.

The worst error is that it doesn't mention how to add the textures to the model. I have checked the files in the repository to know how to add it.

My problem is with the Collada object, head.dae file. If I add the model to a world, the head doesn't appear.

From model.sdf, the part that shows the head is:

<visual name="head_visual">
<pose>0 0 0.25 0 0 -2.5</pose>
    <scale>0.25 0.25 0.25</scale>

I thought that the problem is with the uri, but I can see the model in Gazebo editor, and it shows body's material. Maybe something has changed in the latest version of Gazebo and now, this model doesn't work.

What's wrong?

edit retag flag offensive close merge delete

Comments describes how to add the texture to the dae file. Did that not work for you?

azeey gravatar imageazeey ( 2018-12-26 13:42:28 -0500 )edit

No, it doesn't show the Collada object in Gazebo.

VansFannel gravatar imageVansFannel ( 2018-12-27 01:39:46 -0500 )edit