gazebosim / gz-usd

Command line tools to convert SDFormat to USD and viceversa
Apache License 2.0
24 stars 5 forks source link

Fixed usd2sdf when import from model:// #10

Open ahcorde opened 2 years ago

ahcorde commented 2 years ago

Signed-off-by: ahcorde ahcorde@gmail.com

🦟 Bug fix

Summary

Moved from here https://github.com/gazebosim/sdformat/pull/1023

Added the model:// path to the set of folder where sdf should look for models and textures

FYI @rbonghi

SDF_PATH="models" IGN_FILE_PATH="models" sdf2usd worlds/office.sdf office.usda

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

codecov[bot] commented 2 years ago

Codecov Report

Attention: Patch coverage is 5.88235% with 16 lines in your changes missing coverage. Please review.

Project coverage is 64.84%. Comparing base (157a5a1) to head (10d1792). Report is 6 commits behind head on main.

Files Patch % Lines
src/sdf_parser/Geometry.cc 5.88% 16 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #10 +/- ## ========================================== - Coverage 65.17% 64.84% -0.34% ========================================== Files 29 29 Lines 2958 2975 +17 ========================================== + Hits 1928 1929 +1 - Misses 1030 1046 +16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.