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

Added possibility to output opti problems to functions #16

Merged
merged 55 commits into from
Jul 5, 2024
Merged

Conversation

S-Dafarra
Copy link
Member

In order to have the to_function functionality, I had to implement conversions to/from dictionaries. This in turned, allowed me to simplify a good portion of code from the OptiSolver.

To showcase this change, I edited main_periodic_step_parametric. A full output trajectory can be obtained by passing only the densities and link length multipliers as inputs.

I also added main_sensitivity to compute the jacobian of the output of the pose finder with respect the length multipliers, and densities. This file requires robotology/idyntree#1185, but since it is only a runtime dependency, I think we can proceed anyhow.

…o dict in optiSolver

This should simplify a bit the code
@traversaro
Copy link
Contributor

This file requires robotology/idyntree#1185, but since it is only a runtime dependency, I think we can proceed anyhow.

Released as iDynTree 12.3.0 : https://github.com/robotology/idyntree/releases/tag/v12.3.0 .

@S-Dafarra
Copy link
Member Author

@diegoferigo @rob-mau let me know if you have any comment, otherwise I will proceed with the merge

@S-Dafarra S-Dafarra mentioned this pull request Jun 27, 2024
@S-Dafarra
Copy link
Member Author

@diegoferigo @rob-mau let me know if you have any comment, otherwise I will proceed with the merge

Merging

@S-Dafarra S-Dafarra merged commit 3cd1f2f into main Jul 5, 2024
16 checks passed
@S-Dafarra S-Dafarra deleted the to_function branch July 5, 2024 07:43
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.

2 participants