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

core: add EPA::FallBack condition to shapeDistance computation #325

Merged
merged 2 commits into from Jul 27, 2022

Conversation

lmontaut
Copy link
Contributor

When there is a vertex-vertex collision, EPA goes into fallback mode because GJK gave it a simplex of rank 1. This corresponds to the origin being on a vertex of the Minkowski difference. In such a case, the distance is well defined (it is 0, where currently shapeDistance returns -infinity, see the example in #144). However, there is still some work to be done to properly define the normal.

@jcarpent jcarpent merged commit ee1a3a3 into humanoid-path-planner:devel Jul 27, 2022
@lmontaut lmontaut deleted the epa_fallback branch July 27, 2022 20:56
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.

None yet

2 participants