BerkeleyAutomation / python-fcl

Python binding of FCL library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect collision contact point on BVHModel

Moult opened this issue · comments

I am new to these concepts so please excuse this beginner query. I have two BVHModels that represent the two below shapes. The CollisionObjects contain the BVHModel with the correct vertices, faces, and transformations. I have checked this manually to confirm.

However, collide() results tell me there is a collision, located at the crosshair in the image below.

I do not understand why this is the case. Is BVHModel the wrong type to use, due to the concave nature of the shape?

image

This example, of two L-shaped pieces do not intersect, but collide() reports that they do. The code I'm running is basically a copy paste of the example code in the readme, so I don't think that's the issue.

image

Sorry, user error :) Ignore everything!