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 alternative velocity representations of new functional APIs #99

Merged
merged 10 commits into from
Mar 6, 2024

Conversation

diegoferigo
Copy link
Member

@diegoferigo diegoferigo commented Mar 6, 2024

I'm in the process of developing unit tests of the new functional APIs and I found multiple bugs in velocity representations different from VelRepr.Inertial. While waiting the tests to be ready to be pushed upstream, this PR aims at fixing the found bugs.


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

@diegoferigo diegoferigo self-assigned this Mar 6, 2024
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 Diego, LGTM! I just wrote some minor comments

src/jaxsim/api/data.py Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

step does not use the argument model

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep I'm aware and this is/was something wanted. There might be alternative step* methods in the future requiring model for internal computations. It was needed by the semi-implicit integrators, but probably with the most recent structure is no longer needed.

I leave a reminder in my code to check this sooner or later, likely when I'll upstream the semi-implicit integrators.

@diegoferigo diegoferigo changed the title Multiple bug fixing of new functional APIs Fix alternative velocity representations logic of new functional APIs Mar 6, 2024
@diegoferigo diegoferigo changed the title Fix alternative velocity representations logic of new functional APIs Fix alternative velocity representations of new functional APIs Mar 6, 2024
@diegoferigo diegoferigo merged commit f3d9abb into ami-iit:main Mar 6, 2024
12 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.

None yet

3 participants