Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Take a look in ~/.gazebo/ogre.log. There are probably errors that say a material cannot be found.

Gazebo will search for materials in all paths listed in GAZEBO_RESOURCE_PATH. It's important to note that for each path listed in GAZEBO_RESOURCE_PATH, gazebo will search in the media/materials/textures subdirectory.

For example, if GAZEBO_RESOURCE_PATH=/usr/local/share/gazebo-1.8. The material texture files should be in /usr/local/share/gazebo-1.8/media/materials/textures.

You should probably just make a model, which has a self-contained directory struture for all meshes, materials, and SDF files. See here, and these [examples].(https://bitbucket.org/osrf/gazebo_models/src)

Take a look in ~/.gazebo/ogre.log. There are probably errors that say a material cannot be found.

Gazebo will search for materials in all paths listed in GAZEBO_RESOURCE_PATH. It's important to note that for each path listed in GAZEBO_RESOURCE_PATH, gazebo will search in the media/materials/textures subdirectory.

For example, if GAZEBO_RESOURCE_PATH=/usr/local/share/gazebo-1.8. The material texture files should be in /usr/local/share/gazebo-1.8/media/materials/textures.

You should probably just make a model, which has a self-contained directory struture for all meshes, materials, and SDF files. See here, and these [examples].(https://bitbucket.org/osrf/gazebo_models/src)examples.