Skip to content

SDF to USD: check and fix if path is valid#976

Merged
ahcorde merged 7 commits intosdf12from
ahcorde/sdf_to_usd/fix_path
Apr 14, 2022
Merged

SDF to USD: check and fix if path is valid#976
ahcorde merged 7 commits intosdf12from
ahcorde/sdf_to_usd/fix_path

Conversation

@ahcorde
Copy link
Copy Markdown
Collaborator

@ahcorde ahcorde commented Apr 13, 2022

Signed-off-by: Alejandro Hernández ahcorde@gmail.com

🦟 Bug fix

Fixes #

Summary

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

Signed-off-by: Alejandro Hernández <ahcorde@gmail.com>
@ahcorde ahcorde added the usd label Apr 13, 2022
@ahcorde ahcorde requested review from azeey and scpeters as code owners April 13, 2022 15:04
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Apr 13, 2022
ahcorde and others added 2 commits April 13, 2022 18:28
Signed-off-by: Alejandro Hernández <ahcorde@gmail.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@adlarkin adlarkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 13, 2022

Codecov Report

Merging #976 (27832c3) into sdf12 (0fa9e78) will not change coverage.
The diff coverage is n/a.

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fa9e78...27832c3. Read the comment docs.

ahcorde added 2 commits April 13, 2022 20:38
Signed-off-by: Alejandro Hernández <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Collaborator Author

ahcorde commented Apr 13, 2022

@adlarkin Done here 6d7f212

@ahcorde ahcorde requested a review from adlarkin April 13, 2022 18:39
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
@ahcorde ahcorde merged commit b45fcd0 into sdf12 Apr 14, 2022
@ahcorde ahcorde deleted the ahcorde/sdf_to_usd/fix_path branch April 14, 2022 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏯 fortress Ignition Fortress usd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants