Home | Tutorials | Wiki | Issues
Ask Your Question

Collision and collada meshes

asked 2015-05-28 10:13:54 -0600

mehdi gravatar image

I am using .dae meshes for my robot and it seems that when I define the collision tag using that mesh, objects can just go through and no collision is simulated. Why is that? example of my urdf

<link name="disk${index}">
      <mesh filename="package://maru_simulation/meshes/disk.dae"/>
    <origin xyz="0 0 -0.01" rpy="0 0 0"/>
  <mass value="0.01" />
  <inertia ixx="1.0" ixy="0.0" ixz="0.0"
  iyy="1.0" iyz="0.0"
  izz="1.0" />
      <mesh filename="package://maru_simulation/meshes/disk.dae"/>
    <origin xyz="0 0 -0.01" rpy="0 0 0"/>
edit retag flag offensive close merge delete


I don't have an answer but usually collada meshes are used for visualization. Textureless format with less vertices are usually used for collision, format as stl are best suited for this use case.

marguedas gravatar imagemarguedas ( 2015-05-29 02:12:21 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-29 15:32:50 -0600

mehdi gravatar image

I figured out that models loaded from urdf's have by default "self collide" set to false so any joint from that model won't collide with any other joint, but if you spawn another object and make it collide with your mesh model, the simulator will take into consideration the collision.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2015-05-28 10:13:54 -0600

Seen: 1,520 times

Last updated: Nov 29 '18