Skip to content

USD -> SDF: Added model tag#876

Merged
ahcorde merged 84 commits intosdf12from
ahcorde/usd_to_sdf_models
Apr 5, 2022
Merged

USD -> SDF: Added model tag#876
ahcorde merged 84 commits intosdf12from
ahcorde/usd_to_sdf_models

Conversation

@ahcorde
Copy link
Copy Markdown
Collaborator

@ahcorde ahcorde commented Mar 10, 2022

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

🎉 New feature

Summary

USD -> SDF: Added model tag

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • 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.

ahcorde and others added 14 commits March 9, 2022 13:22
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde added the usd label Mar 10, 2022
@ahcorde ahcorde requested review from adlarkin and koonpeng March 10, 2022 12:16
@ahcorde ahcorde self-assigned this Mar 10, 2022
ahcorde and others added 4 commits March 10, 2022 13:39
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Comment thread usd/src/usd_parser/USDWorld.cc Outdated
std::vector<std::string> primPathTokens =
ignition::common::split(primPath, "/");

if (primPathTokens.size() == 1 && !prim.IsA<pxr::UsdGeomCamera>())
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is making an assumption on the scene graph of the usd, it wouldn't hold if the usd does not come from isaac sim. We should probably note somewhere that the converter only works for isaac sim usds.

ahcorde added 7 commits March 14, 2022 12:47
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
ahcorde and others added 14 commits March 24, 2022 19:10
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 31, 2022

Codecov Report

Merging #876 (96b561c) into sdf12 (2669ff5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head 96b561c differs from pull request most recent head b01801f. Consider uploading reports for the commit b01801f to get more accurate results

@@            Coverage Diff             @@
##            sdf12     #876      +/-   ##
==========================================
+ Coverage   87.66%   87.68%   +0.01%     
==========================================
  Files         104      104              
  Lines       15033    15049      +16     
==========================================
+ Hits        13179    13196      +17     
+ Misses       1854     1853       -1     
Impacted Files Coverage Δ
usd/src/usd_parser/USDData.cc 62.28% <ø> (-1.28%) ⬇️
usd/src/usd_parser/USDWorld.cc 86.36% <100.00%> (+4.01%) ⬆️
usd/src/usd_parser/USDTransforms.cc 65.54% <0.00%> (+0.67%) ⬆️

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 2669ff5...b01801f. Read the comment docs.

Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Base automatically changed from ahcorde/usd_to_sdf_lights to sdf12 March 31, 2022 20:54
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
@adlarkin
Copy link
Copy Markdown
Contributor

@ahcorde I made some changes and added tests, would you mind taking a look? Here are the changes I made: https://github.com/ignitionrobotics/sdformat/pull/876/files/af2ce4c6caf2cf1a7cf7be2214de94d4a1d03800..553b93b03bbd482dd0602a2c066547aaee125a0f

Comment thread usd/src/usd_parser/USDLight_TEST.cc
Comment thread usd/src/usd_parser/USDLight_TEST.cc
Comment thread usd/src/usd_parser/USDWorld.cc
Comment thread usd/src/usd_parser/USDWorld.cc Outdated
ahcorde added 2 commits April 5, 2022 10:14
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from adlarkin April 5, 2022 08:19
@ahcorde ahcorde merged commit 56b0d9c into sdf12 Apr 5, 2022
@ahcorde ahcorde deleted the ahcorde/usd_to_sdf_models branch April 5, 2022 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants