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

Request about adam and modifying urdf #123

Open
PietroFerrario opened this issue Jan 20, 2025 · 2 comments
Open

Request about adam and modifying urdf #123

PietroFerrario opened this issue Jan 20, 2025 · 2 comments

Comments

@PietroFerrario
Copy link

Hello,
I'm working on a co-design project using adam to load the urdf file of a robot model. I'd like to ask if it possible to modify such a file, once it's loaded, directly using this library. Or if there is no such a feature and the only way to do it is to first modify the urdf and then to load it with adam.

@CarlottaSartore
Copy link
Collaborator

Hello @PietroFerrario,

Thank you for opening an issue and for your interest in using Adam for co-design projects!

Regarding your question about modifying a URDF file after it has been loaded using Adam: while the library itself does not currently support direct modification of the URDF once it's loaded, there is an alternative approach that might fit your needs.

Adam provides a parametric implementation that allows you to parameterize the robot model based on specific hardware parameters, such as link lengths and densities. You can find more information about this functionality here:
Parametric Implementation

This implementation enables you to derive dynamic and kinematic quantities parameterized by these hardware properties, effectively supporting customization of the robot model for co-design purposes. Once you have used Adam to identify the desired link hardware parameters, you can create a new URDF that reflects these changes using the urdf-modifiers.

Additionally, you can explore detailed examples in the ADAM test folder to understand how this parameterization works in practice:Test Example Parametric

We hope this answers your question. Let us know if this answer your question or if you need any additional information !

@PietroFerrario
Copy link
Author

Thank you @CarlottaSartore for your answer!

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

No branches or pull requests

2 participants