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

Add rigid contacts model #149

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from
Draft

Add rigid contacts model #149

wants to merge 29 commits into from

Conversation

flferretti
Copy link
Collaborator

@flferretti flferretti commented May 7, 2024

This PR adds a new rigid contacts model to the codebase.


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

@flferretti flferretti self-assigned this May 7, 2024
@flferretti flferretti force-pushed the feature/rigid_contacts branch 2 times, most recently from dfe9ad4 to ac410b8 Compare May 7, 2024 15:39
@flferretti flferretti force-pushed the feature/rigid_contacts branch 3 times, most recently from 563e80d to 2447f54 Compare May 16, 2024 07:32
flferretti and others added 5 commits June 3, 2024 17:53
* Create `jaxsim.api.frame` module with `transform` function

* Add `frame` module to `jaxsim.api` package

* Add unit test for `jaxsim.api.frame` module

* Add index-related functions to `frame` module

* Add `test_frame_index` to `frame` unit tests

* Add `jacobian` method to `frame` module

* Add `test_frame_jacobians` to `frame` unit tests

* Add `.vscode` to gitignore

* Add `frame` module to sphynx documentation

* Apply suggestions from code review

Co-authored-by: Filippo Luca Ferretti <102977828+flferretti@users.noreply.github.com>
Co-authored-by: Diego Ferigo <dgferigo@gmail.com>

* Update frame.py

* Add additional frame attached to link in box model

* Refactor `test_frame_jacobians` to better debug jacobians not matching with iDynTree

* Exclude from `test_frame_jacobians` the frames that are not loaded in KynDynComputations

* Add `frame_parent_link_name` method to `KinDynComputations class`

* Update code style of `frame.transform` function

* WIP Update `test_frame_transforms` to print parent link frames and not fail at the first failed assertion

* Update `test_frame_transforms`

* Add single pendulum fixture in `conftest.py`

* Clean `test_api_frames`

* Fix retrieval of the frame's parent link index

* Add function to get the frame's parent link index

* Update frames test

* Align link and joint tests

* Removed unused tested model

* Update tests to use new ROD URDF exporter function

* Use plain integers for frame indices

* Add JaxSimModel.frame_names

* Fix regression raising TracerBoolConversionError when comparing pytrees

* Temporarily disable test_pytree

---------

Co-authored-by: Filippo Luca Ferretti <102977828+flferretti@users.noreply.github.com>
Co-authored-by: Diego Ferigo <dgferigo@gmail.com>
Co-authored-by: diegoferigo <diego.ferigo@iit.it>
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

2 participants