Hi there!
I'm trying to get our Collada mesh properly visualised in Gazebo. After fixing the units, the mesh itself is correctly shown. However, the texture (a JPG file) is not correctly mapped onto the mesh.
The mesh + texture is properly visualised in MeshLab and RViz. I also tried loading my model via both URDF and SDF to make sure, this is not a problem of the URDF parser.
Here is a screenshot of both RViz and Gazebo visualisation: gazebo-collada-mesh-problem.png
Does anybody have an idea what's going wrong?
I found some similar looking bugs filled for Gazebo, but I'm not sure they are about the same problem. If there is already a bug filled for this, please let me know about it, so I can keep track of it.
/edit:
I just received a comment from another Gazebo user, who has a similar looking issue:
I cannot comment your post because I have karma 1, but we have the same problems with textures since Gazebo 1.0. Up to the version bundled with ROS Electric everything worked just fine, then in 1.3 we get a marble-like texture very similar to yours, and in 1.4 textures are simply not shown. All other Collada viewers that we've tried (Blender, AssimpView, MeshLab, rviz) render the color maps correctly. Now that we know that with 1.4 it still does not work, we were also about to post a question. You beat us to it :). I'm attaching a picture of how things look like up to Gazebo 1.3 and Rviz.
Relevant package: http://www.ros.org/wiki/reem_description
And here is his picture: reem-gazebo-rviz.png
We thank for your help!
/edit #2:
Regarding iche's request:
My screenshot shows Kobuki (the mobile base for TurtleBot 2) and its meshes can be download from Github: https://github.com/yujinrobot/kobuki_description
/edit #3: The answer is buried in the comments, so I'm adding it here as well: @iche033 was right. The meshes look fine using Gazebo 1.5.
Originally posted by bit-pirate on Gazebo Answers with karma: 129 on 2013-02-20
Post score: 0