Load color OBJ in Gazebo 2.2
Hi, I'm using Gazebo 2.2 for ROS indigo, I need to load some objects that I've created in obj file forma, so I followed this tutorial where suggest to use a conververt .obj -> .dae collada file format. Then I used this world file:
w1.world :
<?xml version="1.0"?>
<sdf version="1.4">
<world name="default">
<include>
<uri>model://ground_plane</uri>
</include>
<include>
<uri>model://sun</uri>
</include>
<model name="my_mesh2">
<pose>0 0 0 0 0 0</pose>
<static>true</static>
<link name="body">
<visual name="visual">
<pose> -7 8 0 1.5708 0 0</pose>
<geometry>
<mesh>
<scale>0.01 0.01 0.01</scale>
<uri>file://mymodel.dae</uri>
</mesh>
</geometry>
</visual>
</link>
</model>
</world>
</sdf>
And launched from terminal with
gazebo w1.world
The mesh is loaded in gazebo, but without color. If I open the .dae file (file is here ) with meshlab the color is displayed, but is not in gazebo. Can somebody help me with this?