Open danepowell opened 11 years ago
Which version of ROS, pr2_gazebo, and pr2_common are you using? Which OS? From debs or built from source?
Sorry, should have specified - Groovy, Ubuntu 12.10 (Quantal), groovy-devel branches of pr2_gazebo and pr2_common.
This looks like a bug in how the textures are specified for gazebo in pr2_description/urdf/base_v0/base.gazebo.xacro and pr2_description/urdf/materials.urdf.xacro
I think this is specific to gazebo. I don't know much about gazebo, but I'll see if I can get someone to take a look at it.
I wonder if this is related to or a result of this issue: https://github.com/PR2/pr2_common/issues/192
It seems that the materials are all defined in pr2_ogre, in Media/materials/scripts/pr2.material . But this file does not seem to be referenced anywhere in pr2_description.
If you roslaunch pr2_gazebo pr2_empty_world.launch, you'll see a bunch of warnings about missing textures, like:
Warning [Visual.cc:745] Unable to get Material[PR2/caster_texture] for Geometry[pr2::fr_caster_rotation_link::fr_caster_rotation_link_visual. Object will appear white
This is weird, since the textures are defined in pr2_description/urdf/materials.urdf.xacro . But for whatever reason, they're not getting picked up.