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

Fix simulation test with relaxed rigid contact model #294

Conversation

flferretti
Copy link
Collaborator

@flferretti flferretti commented Nov 22, 2024

This PR fixes the simulation test with the relaxed rigid contact model by replacing the mass matrix inversion method with linalg.inv for accuracy and by using a non-linear Hunt-Crossley model to reduce the drifts in the tangential directions


📚 Documentation preview 📚: https://jaxsim--294.org.readthedocs.build//294/

@flferretti flferretti requested a review from xela-95 as a code owner November 22, 2024 10:49
@flferretti flferretti linked an issue Nov 22, 2024 that may be closed by this pull request
@flferretti flferretti self-assigned this Nov 22, 2024
@flferretti
Copy link
Collaborator Author

Thanks @xela-95 and @diegoferigo, I'll change the lstsq in a different PR as I believe it is better to restrict this to the scope of #293. Dropping last commit

@flferretti flferretti force-pushed the 293-test-test_simulation_with_relaxed_rigid_contacts-failing branch 3 times, most recently from 249d345 to d6cd3fb Compare November 26, 2024 08:46
@flferretti flferretti force-pushed the 293-test-test_simulation_with_relaxed_rigid_contacts-failing branch from d6cd3fb to cd8b0b0 Compare December 3, 2024 11:23
@flferretti flferretti force-pushed the 293-test-test_simulation_with_relaxed_rigid_contacts-failing branch from cd8b0b0 to 2f37997 Compare December 3, 2024 14:43
@flferretti flferretti enabled auto-merge December 3, 2024 14:43
@flferretti flferretti merged commit d2cf220 into main Dec 3, 2024
24 checks passed
@flferretti flferretti deleted the 293-test-test_simulation_with_relaxed_rigid_contacts-failing branch December 3, 2024 14:58
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.

Test test_simulation_with_relaxed_rigid_contacts failing
3 participants