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

sdf2usd: nested models are not supported #40

Open
scpeters opened this issue Oct 3, 2024 · 0 comments
Open

sdf2usd: nested models are not supported #40

scpeters opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scpeters
Copy link
Member

scpeters commented Oct 3, 2024

Environment

  • OS Version: macOS 14.7 (Sonoma)
  • Source or binary build? source build of main branch (178e136) with Gazebo Ionic

Description

  • Expected behavior: converting a file with nested models should work properly
  • Actual behavior: the conversion fails with an error message (see src/sdf_parser/Model.cc:57-63

Steps to reproduce

  1. Build gz-usd
  2. Download the nested_model_joint_positions.sdf example world into the gz-usd build folder
  3. From the gz-usd build folder, convert to USD with the following command:
./bin/sdf2usd nested_model_joint_positions.sdf nested_model_joint_positions.usda

Output

$ ./bin/sdf2usd nested_model_joint_positions.sdf nested_model_joint_positions.usda
The following errors occurred when parsing world [nested_model_joint_positions]:
Error Code 2: Msg: Error parsing model [model2]
Error Code 18: Msg: Nested models currently aren't supported.
Error Code 2: Msg: Error parsing model [model3]
Error Code 18: Msg: Nested models currently aren't supported.
Error Code 2: Msg: Error parsing model [model4]
Error Code 18: Msg: Nested models currently aren't supported.
@scpeters scpeters added the bug Something isn't working label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Inbox
Development

No branches or pull requests

1 participant