Fix USD visual shape transform parsing#499
Conversation
Signed-off-by: Eric Heiden <eheiden@nvidia.com>
Signed-off-by: Eric Heiden <eheiden@nvidia.com>
Signed-off-by: Eric Heiden <eheiden@nvidia.com>
📝 WalkthroughWalkthroughA new unit test was added to validate the correspondence between visual and collision shapes in USD-imported models. The USD import utility was updated to invert rotations by default and to skip loading visual shapes from paths matching specified ignore patterns. Changes
Sequence Diagram(s)sequenceDiagram
participant Test as TestImportUsd
participant Builder as ModelBuilder
participant Importer as parse_usd
Test->>Builder: create()
Test->>Importer: parse_usd("humanoid.usda", ...)
Importer-->>Builder: populate shapes and bodies
Test->>Builder: get shapes and bodies
Test->>Test: filter visual and collision shapes
loop For each visual shape
Test->>Test: find corresponding collision shape
Test->>Test: compare type, source, transform, scale, flags
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yml 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📚 Learning: in warp benchmarks, explicit wp.init() calls are not needed in most circumstances since the first wa...Applied to files:
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (4)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Signed-off-by: Eric Heiden <eheiden@nvidia.com>
# Description Updates supported systems for teleop requirements in documentation. ## Type of change - This change requires a documentation update ## Checklist - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task -->
Signed-off-by: Eric Heiden <eheiden@nvidia.com>
Description
Rotations of visual shapes need to be transposed to match their collision shapes
Newton Migration Guide
Please ensure the migration guide for warp.sim users is up-to-date with the changes made in this MR.
docs/migration.rstis up-to dateBefore your PR is "Ready for review"
newton/tests/test_examples.py)pre-commit run -aSummary by CodeRabbit
New Features
Bug Fixes
Refactor