Ask Your Question

# Revision history [back]

May be a problem with the path's that gazebo is using. For example when you use model:// to include a file

<uri>model://yosemite/materials/textures/yosemite.png</uri>


it will look in $GAZEBO_MODEL_PATH/yosemite/materials/textures/yosemite.png to load the image. Everything you include with file:// <diffuse>file://media/materials/textures/dirt_diffusespecular.png</diffuse>  gazebo will search in $GAZEBO_RESOURCE_PATH/media/materials/textures/dirt_diffusespecular.png

Did you made sure that these path's and directories are set correct and that the png files are in the right locations? You can check the path's with

echo $GAZEBO_MODEL_PATH echo$GAZEBO_RESOURCE_PATH