SDF to USD: check and fix if path is valid#976
Conversation
Signed-off-by: Alejandro Hernández <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández <ahcorde@gmail.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
adlarkin
left a comment
There was a problem hiding this comment.
Overall, LGTM! One question though - it looks like there's still a place in the sdf -> usd geometry parser where we are manually replaceing dashes with underscores: https://github.com/ignitionrobotics/sdformat/blob/78b661a598c54b1530c9abea63a58a26f1b99128/usd/src/sdf_parser/Geometry.cc#L353
Should we update the validPath method to also check for dashes, and then replace the line I linked above to use validPath?
Codecov Report
@@ Coverage Diff @@
## sdf12 #976 +/- ##
=======================================
Coverage 65.38% 65.38%
=======================================
Files 2 2
Lines 26 26
=======================================
Hits 17 17
Misses 9 9 Continue to review full report at Codecov.
|
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Signed-off-by: Alejandro Hernández ahcorde@gmail.com
🦟 Bug fix
Fixes #
Summary
Checklist
codecheckpassed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-bymessages.