ethz-asl / vgn

Real-time 6 DOF grasp detection in clutter.
BSD 3-Clause "New" or "Revised" License
257 stars 55 forks source link

difference between visual geometry and collision geometry in the simulation #13

Closed jxtxwsbn closed 2 years ago

jxtxwsbn commented 3 years ago

Hi,

I noticed that there is a difference between visual geometry and collision geometry. The gripper can grasp the object even there is a gap between the finger and the object. What's the reason for this phenomenon? Thanks

mbreyer commented 2 years ago

This is a behavior of the physics engine. PyBullet recommends that you generate a convex decomposition of the visual geometry using v-hacd since computing collisions between convex objects is a lot more efficient. It can lead to some artifacts though when the convex approximation does not exactly match the visual mesh.