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

MeshShapeCollisionTraversalNode::leafCollides can create a contact with all values set to NaN #636

Open
jorisv opened this issue Dec 6, 2024 · 1 comment

Comments

@jorisv
Copy link
Contributor

jorisv commented Dec 6, 2024

When running the test test_talos in pinocchio-test-cpp-parallel-geometry we run into a failure because geometry_data_ref.collisionResults[k].getContacts() is filled with NaN.

This is because runGJKAndEPA fall in the details::GJK::NoCollisionEarlyStopped stop criterion. Then, MeshShapeCollisionTraversalNode::leafCollides don't filter this output and create a Contact even if there is no collision.

@lmontaut
Copy link
Contributor

lmontaut commented Dec 6, 2024

Thanks @jorisv
I will look into it 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

No branches or pull requests

2 participants