Gazebo GUI not save model custom collision

asked 2017-05-31 02:41:35 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I open a my_task.world file with following command,

$ gazebo my_task.world

In my my_task.world, there is a model with custom collision, like

<collision name="collision">
  <geometry>
        <mesh>
             <uri>model://visual/taskpad.dae</uri>
        </mesh>
   </geometry>
</collision>

<visual name="visual">
      <geometry>
        <mesh>
        <uri>model://visual/taskpad.dae</uri>
        </mesh>
      </geometry>
 </visual>

then I used Model Editor add a box in this world, and save & exit the Model Editor, and then save the world with gazebo GUI menu File -->Save World As.

Then I open the new .world file, but the custom collision with custom mesh was missing, and the collision property of the model not show up in the left tab page.

edit retag flag offensive close merge delete