Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

In your files, you refer to two different image files: MyImage.png and floor.png, they should probably be the same, right?

Also, there's no need to have the image filename in the <uri> tag, just the path to textures is enough:

    <material>
      <script>
        <uri>model://my_ground_plane/materials/scripts</uri>
        <uri>model://my_ground_plane/materials/textures</uri>
        <name>my_ground_plane/Image</name>
      </script>
    </material>

So just referencing the correct png file inside the material script should do the trick.