Home | Tutorials | Wiki | Issues
Ask Your Question

Load color OBJ in Gazebo 2.2

asked 2015-09-04 04:25:12 -0600

dinl gravatar image

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">
    <model name="my_mesh2">
      <pose>0 0 0  0 0 0</pose>
      <link name="body">
        <visual name="visual">
          <pose> -7 8 0 1.5708 0 0</pose>
               <scale>0.01 0.01 0.01</scale>

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-09-04 07:36:12 -0600

Stefan Kohlbrecher gravatar image

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.

edit flag offensive delete link more


Thats so curious, I saw that you solve the problem but I don't understand the solution, just remove the materials?

dinl gravatar imagedinl ( 2015-09-13 03:15:32 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2015-09-04 04:25:12 -0600

Seen: 1,071 times

Last updated: Sep 04 '15