Gazebo model does not load the materials [closed]

asked 2018-10-05 07:52:17 -0500

stevemartin gravatar image

Hi all. I have created my world using Google Sketchup and saved the materials (jpg format) and .dae file into ~/.gazebo/models/MY_MODEL file. I have configured both model.config and model.sdf files. My model.sdf file is this:

<?xml version="1.0" ?>
<sdf version="1.5">
  <model name="MY_MODEL">
    <link name="link">
      <collision name="collision">
        <geometry>
          <mesh>
            <uri>model://MY_MODEL/meshes/model_d.dae</uri>
          </mesh>
        </geometry>
      </collision>
      <visual name="visual">
        <geometry>
          <mesh>
            <uri>model://MY_MODEL/meshes/model_d.dae</uri>
          </mesh>
        </geometry>
      </visual>
    </link>
  </model>
</sdf>

After that I checked my world using gazebo and importing the newly created model and everything looks fine. But when I try to do the same from other terminal (not from ~/.gazebo/models/MY_MODEL) I do not get the texture/materials of my model, everything is silver. Why is that?

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2018-10-05 07:59:12.889806

Comments

This appears to be a Gazebo-only question. Please ask those over at the Gazebo Answers site.

If you post there, please post a comment here with a link to your question there so we can keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-05 07:59:46 -0500 )edit
1

LINK to the question on gazebo answers site

stevemartin gravatar image stevemartin  ( 2018-10-05 08:38:51 -0500 )edit