Skip to content

Adds check that no articulation root API is applied on rigid bodies - #1358

Merged
kellyguo11 merged 10 commits into
mainfrom
lgulich/ignore-articulation-when-loading-rigid-body
Dec 7, 2024
Merged

kellyguo11 merged 10 commits into
mainfrom
lgulich/ignore-articulation-when-loading-rigid-body

Conversation

@lgulich

@lgulich lgulich commented Nov 1, 2024 •

Copy link
Copy Markdown
Contributor

Description

If a USD contains an articulation root but we load it with a RigidObjectCfg this would also load the articulation. This is confusing as a user only expects a rigid body.

This PR adds a fix to ignore the articulation if a rigid body is spawned.

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have run the pre-commit checks 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

@lgulich
lgulich force-pushed the lgulich/ignore-articulation-when-loading-rigid-body branch from 5bd8c3c to a2608bf Compare November 1, 2024 13:26
@Dhoeller19 Dhoeller19 changed the title Ignore articulation when loading rigid body Disables articulation API when loading a rigid body Nov 1, 2024
@Dhoeller19

Copy link
Copy Markdown

@lgulich could you please update the changelog, mentioning why this was done

@lgulich
lgulich force-pushed the lgulich/ignore-articulation-when-loading-rigid-body branch from 67fcdbf to ec93ab3 Compare November 4, 2024 13:07
@lgulich lgulich changed the title Disables articulation API when loading a rigid body WIP: Disables articulation API when loading a rigid body Nov 4, 2024
@lgulich
lgulich force-pushed the lgulich/ignore-articulation-when-loading-rigid-body branch from ec93ab3 to a98a896 Compare November 4, 2024 14:28
@lgulich
lgulich force-pushed the lgulich/ignore-articulation-when-loading-rigid-body branch from a98a896 to d5bba66 Compare November 4, 2024 16:22
@Dhoeller19 Dhoeller19 changed the title WIP: Disables articulation API when loading a rigid body Adds check that no articulation root API is applied on rigid bodies Nov 5, 2024
Signed-off-by: Kelly Guo <[email protected]>
@kellyguo11
kellyguo11 merged commit c2b3266 into main Dec 7, 2024
@kellyguo11
kellyguo11 deleted the lgulich/ignore-articulation-when-loading-rigid-body branch December 7, 2024 17:28
SevenFo pushed a commit to SevenFo/IsaacLab that referenced this pull request May 19, 2025
…saac-sim#1358)

# Description

If a USD contains an articulation root but we load it with a
`RigidObjectCfg` this would also load the articulation. This is
confusing as a user only expects a rigid body.

This PR adds a fix to ignore the articulation if a rigid body is
spawned.

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link: https://isaac-sim.github.io/IsaacLab/source/refs/contributing.html
-->

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [x] 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
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] 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: lgulich <[email protected]>
Signed-off-by: David Hoeller <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: David Hoeller <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
…saac-sim#1358)

# Description

If a USD contains an articulation root but we load it with a
`RigidObjectCfg` this would also load the articulation. This is
confusing as a user only expects a rigid body.

This PR adds a fix to ignore the articulation if a rigid body is
spawned.

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link: https://isaac-sim.github.io/IsaacLab/source/refs/contributing.html
-->

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [x] 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
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] 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: lgulich <[email protected]>
Signed-off-by: David Hoeller <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: David Hoeller <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants