dart icon indicating copy to clipboard operation
dart copied to clipboard

Use contact point positions computed by FCL

Open jslee02 opened this issue 11 years ago • 6 comments

  1. DART creates meshes for primitive geometries and conduct collision detection using FCL. It sometimes makes unnatural looking result because the collision result is not analytical solution. For example, a sphere does not roll on the ground smoothly. Now FCL supports primitive geometries and analytical solution. Let's use it in DART.
  2. DART calculates contact points with triangle-triangle contact information from FCL because older version of FCL did not provide the contact points. Let's use it in DART, too!

jslee02 avatar May 10 '13 04:05 jslee02

Is anyone currently working on this now?

cerdogan avatar May 11 '13 14:05 cerdogan

Hi Can, I am working on this now. Do you have any good idea about this issue?

jslee02 avatar May 11 '13 16:05 jslee02

I think we should definitely do it because from what I have seen with the cylinders, the output is just not feasible.

I was planning to write some unittests to see how well the fcl collisions test work for ellipses but it seems like you have already started doing this for cubes.

cerdogan avatar May 11 '13 18:05 cerdogan

I conducted some tests for primitive collision detecting with the most recent version of FLC (v0.2.9). I believe that the recent FCL fix resulting wrong contact points.

However, I also found that another issue that FCL returns only one contact point for primitive-primitive all the time. This feature causes problem stacking primitives. For example, to support a box on the ground we need at least three contact points at the bottom face of the box.

When two primitives are colliding, it is not easy to say that which set of contact points are reasonable, of course. However, only one contact point is not suitable for dynamics simulation with contact/collision.

jslee02 avatar Sep 15 '13 06:09 jslee02

I created a ticket (https://github.com/flexible-collision-library/fcl/issues/15) about multiple contacts for primitive collision.

jslee02 avatar Sep 20 '13 20:09 jslee02

Changed title to confine the issue because primitive shape issue duplicates with #19.

Pending until FCL's incorrect contact point computation is resolved.

jslee02 avatar Apr 13 '16 19:04 jslee02