-
Notifications
You must be signed in to change notification settings - Fork 21
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 parametrization w.r.t Hardware Parameters #49
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
294d4c4
added model parametric and first version of casadi computation parame…
CarlottaSartore 0686bed
fix import error, fix missing methods
CarlottaSartore ed89e51
fix non ashable problem
CarlottaSartore 43d2711
fix computations for casadi
CarlottaSartore c5560ed
working with casadi but for the head frame
CarlottaSartore e584294
Added computations parametric for numpy, jax, pythorch
CarlottaSartore cb2eec7
no regression tests working for all backend
CarlottaSartore 6386f7d
fix tests jax with hardware parameters
CarlottaSartore 83fd338
tests for computations with hardware parameters and formatted
CarlottaSartore 4b1263f
remove useless method, add first documentation
CarlottaSartore 8f60f7c
Added documentation for parametric kyndyn classes, refactor of the va…
CarlottaSartore 164de58
rebase on top of main, implement jdotnu for parametric, update tests,…
CarlottaSartore 8bf4fda
update CI
CarlottaSartore 123462d
fix urdf parser py version
CarlottaSartore 0903bd1
remove fix urdf parser py version
CarlottaSartore 5bec824
remove encoding from stickbot for tests with hardware parameters
CarlottaSartore 5bdcf9c
refactor of parmetric implementation
CarlottaSartore bb5a963
Update src/adam/parametric/jax/computations_parametric.py
CarlottaSartore ab08cf9
fix typos and copy paste leftovers
CarlottaSartore 7b0b3aa
Merge branch 'main' into model_parametric
Giulero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,6 @@ dependencies: | |
- pytest-repeat | ||
- icub-models | ||
- idyntree | ||
- gitpython | ||
- jax | ||
- pytorch | ||
- pytorch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ test = | |
idyntree | ||
icub-models | ||
black | ||
gitpython | ||
all = | ||
jax | ||
jaxlib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Copyright (C) 2021 Istituto Italiano di Tecnologia (IIT). All rights reserved. | ||
# This software may be modified and distributed under the terms of the | ||
# GNU Lesser General Public License v2.1 or any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright (C) 2021 Istituto Italiano di Tecnologia (IIT). All rights reserved. | ||
# This software may be modified and distributed under the terms of the | ||
# GNU Lesser General Public License v2.1 or any later version. | ||
from .computations_parametric import KinDynComputationsParametric |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remember me why the assignment
T[:3, 3] = xyz
does not work?It's more of a log for the feature :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue was that xyz contains both symbolic and not symbolic elements if the robot model is parametric, therefore it was complaining due to different types in xyz !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it!