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

Change neutral element transform matrix in contact #305

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

CarlottaSartore
Copy link
Contributor

@CarlottaSartore CarlottaSartore commented Dec 4, 2024

In this PR we change the neutral element for the transformation matrix from jnp.zeros to jnp.eye in the collidable_point_dynamics method of the contact class.

This will have no effect on the code execution since such transform matrix was not used, this change is done only to avoid confusion by declaring the correct neutral element for the transformation matrix.


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

src/jaxsim/api/contact.py Outdated Show resolved Hide resolved
Co-authored-by: Filippo Luca Ferretti <[email protected]>
Copy link
Collaborator

@flferretti flferretti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @CarlottaSartore, LGTM

@flferretti flferretti enabled auto-merge December 4, 2024 09:44
@flferretti flferretti merged commit 75f6c49 into ami-iit:main Dec 4, 2024
13 checks passed
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.

3 participants