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

While running sdf2usd URDF parser throws an error if the input file is named "model.sdf" #8

Open
joshuacv opened this issue Aug 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@joshuacv
Copy link
Contributor

joshuacv commented Aug 5, 2022

While trying to convert an sdf file, I came across this problem that if the model is named model.sdf, the gz-usdf throws this an error. The error seems to be coming from the urdf parser (I dont see a reason why the urdf parser is called for parsing the sdf file)

Environment

  • OS Version: Ubuntu 20.04
  • Source build: Main branch and looks like commit number is 6fb572b

Description

  • Expected behavior: convert .sdf files to .usd files
  • Actual behavior: An error is thrown (details below)

Steps to reproduce

Output

Error: Could not find the 'robot' element in the xml file
at line 109 in /build/urdfdom-VnCcob/urdfdom-1.0.4+ds/urdf_parser/src/model.cpp
Errors encountered:
Error Code 1: Msg: Unable to read file:model.sdf

Other details

  • sdfformat version is sdfformat12 (was built from source)
  • usd release branch (1c2b097a48edd78abeffb0e7b4c8adfec4d14060) - built from source
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
None yet
Development

No branches or pull requests

1 participant