Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional collision detector: BulletCollisionDetector #156

Merged
merged 2 commits into from
Mar 18, 2014
Merged

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Mar 17, 2014

DART has 3 collision detector types:

Both of FCLMeshCollisionDetector and FCLCollisionDetector are based on fcl. The difference between them is that FCLMeshCollisionDetector convert all the primitive shapes to meshs for collision detection while fcl uses primitive shapes of 'fcl'.

Some simulation requires analytic collision information using primitive shapes for example rolling wheel for vehicle simulation. In this sense, FCLCollisionDetector or DARTCollisionDetector is good solution instead of FCLMeshCollisionDetector. However, they have issues to use as default collision detector of DART.

fcl returns only one contact point for one collision pairs. This leads to unexpected behavior. See [#59] for the detail. Whereas DARTCollisionDetector does not cover all the shapes of DART. It supports only BoxShape and Sphere.

Under current circumstance, BulletCollision may be considerable solution. It supports primitive shapes and mesh together and returns reasonable number of contact points for primitive shapes. Of course Bullet is another physics engine as it is. We uses BulletCollision component only for collision detection and separate debian package of it is delivered since Ubuntu 13.10.

This may not our long term solution but I think it is worth in case of that analytic collision solution for primitive shapes and mesh support are required at the same time. Also this pull request does not increase mandatory dependency. When BulletCollision is installed on the machine, then cmake detect it and add BulletCollsisionDetector of DART.

karenliu added a commit that referenced this pull request Mar 18, 2014
Add optional collision detector: BulletCollisionDetector
@karenliu karenliu merged commit 4e83d5c into master Mar 18, 2014
@jslee02 jslee02 added this to the Release DART 4.0 milestone Mar 18, 2014
@jslee02 jslee02 deleted the bullet_cd branch March 27, 2014 08:00
@ljklonepiece
Copy link

Hi there, just wondering is there any chance DARTCollisionDetector will support MeshShape objects soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants