Skip to content

Support computing distance between half-spaces and some other shapes#2

Open
gywn wants to merge 1 commit intotrimeshContactPoints20200813from
supportRobotSafetyFunctionsCompatibility
Open

Support computing distance between half-spaces and some other shapes#2
gywn wants to merge 1 commit intotrimeshContactPoints20200813from
supportRobotSafetyFunctionsCompatibility

Conversation

@gywn
Copy link
Copy Markdown
Collaborator

@gywn gywn commented Jul 17, 2024

This PR fills the missing template specialization of GJKSolver_libccd::shapeDistance and GJKSolver_indep::shapeDistance, which implement distance computation between half-spaces and some other geometries (spheres, capsules, and boxes) widely used in quasi-real-time collision checking.

These specializations are necessary because libccd's GJK solver suffers from segfaults as the half-space geometry does not have finite support.

This will stay as a contribution to the newer upstream if we were to merge the upstream, since the upstream differs from the current branch only in two newly implemented template specializations of sphere-box and sphere-cylinder distance calculation. c.f.

@gywn
Copy link
Copy Markdown
Collaborator Author

gywn commented Jul 17, 2024

@kanbouchou @snozawa

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.

1 participant