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?
Asked by dinl on 2015-09-04 04:25:12 UTC
Answers
I'm pretty sure this was last working in Gazebo2, but ceased working afterwards. In a funny coincidence, I independently opened a ticket on the Gazebo issue tracker basically at exactly the same time you asked here.
Asked by Stefan Kohlbrecher on 2015-09-04 07:36:12 UTC
Comments
Thats so curious, I saw that you solve the problem but I don't understand the solution, just remove the materials?
Asked by dinl on 2015-09-13 03:15:32 UTC
Comments