Skip to content

Added articulationRootAPI to SDF-USD converter#797

Merged
ahcorde merged 2 commits intoadlarkin/sdf_to_usdfrom
ahcorde/sdf_to_usd/articultedRootAPI
Jan 3, 2022
Merged

Added articulationRootAPI to SDF-USD converter#797
ahcorde merged 2 commits intoadlarkin/sdf_to_usdfrom
ahcorde/sdf_to_usd/articultedRootAPI

Conversation

@ahcorde
Copy link
Copy Markdown
Collaborator

@ahcorde ahcorde commented Dec 22, 2021

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

🦟 Bug fix

Summary

These changes allow to move joints in IsaacSim and to use ROS schemas

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: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from adlarkin December 22, 2021 20:42
@ahcorde ahcorde self-assigned this Dec 22, 2021
Comment thread src/usd/sdf_usd_parser/joint.cc
Comment thread src/usd/sdf_usd_parser/joint.cc
Comment thread src/usd/sdf_usd_parser/world.cc Outdated
}
}
}
if (isArticulated)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

instead of having a separate if check here, what about moving the code in this if block to the if (joint.Type() == sdf::JointType::REVOLUTE) block above? That would also remove the need for the isArticulated flag

Comment thread src/usd/sdf_usd_parser/world.cc Outdated
Comment on lines +106 to +107
<< modelPath << "] as ArticulationRootAPI "
<< " some feature might not work\n";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
<< modelPath << "] as ArticulationRootAPI "
<< " some feature might not work\n";
<< modelPath << "] as ArticulationRootAPI; "
<< "some features might not work\n";

@chapulina chapulina added the 🌱 garden Ignition Garden label Dec 30, 2021
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde merged commit b70ce48 into adlarkin/sdf_to_usd Jan 3, 2022
@ahcorde ahcorde deleted the ahcorde/sdf_to_usd/articultedRootAPI branch January 3, 2022 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌱 garden Ignition Garden

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants