-
Notifications
You must be signed in to change notification settings - Fork 97
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
WIP - HPP-FCL 3x #330
Merged
WIP - HPP-FCL 3x #330
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First return for collision status
…sults second phase
for more information, see https://pre-commit.ci
* `GJKSolver::shapeDistance` was outputing non-uniform behavior. Now, GJKSolver outputs if GJK and/or EPA have run correctly (0 for failure, 1 for success). I updated the tests are updated accordingly. * In the hfields, we check for collision thanks to the distance given by GJK+EPA, NOT with the result given by `GJKSolver::shapeDistance`. * Definition of contact with a bin of hfields and a shape: we correct the contact points, distance and normal ONLY if GJK+EPA has detected a collision (only if distance < 0). * After computing `distToCollision` (takes into account security margin), we add a Contact only if the normal is the normal of the top of the bin. If so, we only add the contact if there was a collision or the shape is not on the side of the bin.
for more information, see https://pre-commit.ci
* Distance to collision takes into account the security margin.
with GJKSolver::shapeDistance.
The convention is now the same as in ShapeShapeCollide.
collision. The convention is now the same as in ShapeShapeCollide.
Contact. It now follows the convention as in ShapeShapeCollide.
according to convention in ShapeShapeCollide.
to convention in ShapeShapeCollide.
Co-authored-by: Justin Carpentier <[email protected]>
Co-authored-by: Justin Carpentier <[email protected]>
Fix issues on normal directions for hfields
…fcl3x Sync hppfcl3x
Fix various bugs in serialization and computation of local AABB
In the case where only 2 shapes are used and one of them is a shape with infinite AABB (i.e Plane or Halfspace), `min_size` remains equal to +infinity in `HierarchyTree::bottomup` and `min_it1` and `min_it2` never got set, which was leading to a segfault when they are then dereferenced.
Sync submodule cmake + import fix from hppfcl 2x
Merge with v2.4.1
CMake: use Findassimp from jrl cmake module
updates: - [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)
for more information, see https://pre-commit.ci
…te-config [pre-commit.ci] pre-commit autoupdate
Merge branch hppfcl3x into devel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.