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

Support LISDF Flattening #18

Open
vacancy opened this issue Apr 12, 2022 · 0 comments
Open

Support LISDF Flattening #18

vacancy opened this issue Apr 12, 2022 · 0 comments

Comments

@vacancy
Copy link
Collaborator

vacancy commented Apr 12, 2022

Currently the parser does not "flatten" the SDFInclude/URDFInclude data structures. Although the included files will be parsed and stored in include.content, they won't be merged into the main file. The primary reason for not doing that is because of the pose/scaling settings in <include>. Specifically, when we include a sub-sdf file with a non-identity scaling/translation, when we flatten it, we need to modify the pose and size of all links/joints.

In the future, we should support two arguments: flatten_sdf and flatten_urdf in the parser interface to allow users to decide how they want us to process the files. If flatten_sdf is set to true, we should recursively update the pose/scaling of all links/joints. This can be done either as a post-processing or by adding a transformation stack during parsing.

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

1 participant