Skip to content

Updates locomotion configs to fix body_com error - #2655

Merged
kellyguo11 merged 1 commit into
isaac-sim:mainfrom
kellyguo11:disale_com
Jun 25, 2025
Merged

kellyguo11 merged 1 commit into
isaac-sim:mainfrom
kellyguo11:disale_com

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Jun 10, 2025 •

Copy link
Copy Markdown
Contributor

Description

The body_com event term added to the base velocity cfg caused errors in some locomotion environments if the body was not named "base". This PR disables the event term for these environments.

Fixes #2574

Type of change

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

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

@jtigue-bdai jtigue-bdai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we need to fix the body_com event term? Or do we need to change the body_com event term integration for these configs?

self.observations.policy.enable_corruption = False
# remove random pushing event
# self.events.base_external_force_torque = None
# self.events.push_robot = None

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

did you mean to delete this line too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, was trying to do some cleanup

@kellyguo11

Copy link
Copy Markdown
Contributor Author

We would need to override body_com event term for each environment with the correct body names, though I'm not sure if it's needed since we didn't have these previously and the body_com was recently added to the base class

@kellyguo11
kellyguo11 merged commit 887342a into isaac-sim:main Jun 25, 2025
harry-wf-cheung pushed a commit to harry-wf-cheung/IsaacLab-Harry that referenced this pull request Jul 30, 2025
# Description

The body_com event term added to the base velocity cfg caused errors in
some locomotion environments if the body was not named "base". This PR
disables the event term for these environments.

Fixes isaac-sim#2574 

## 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)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] 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
-->
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
# Description

The body_com event term added to the base velocity cfg caused errors in
some locomotion environments if the body was not named "base". This PR
disables the event term for these environments.

Fixes isaac-sim#2574 

## 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)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] 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
-->
csj-275 pushed a commit to csj-275/IsaacLab that referenced this pull request Jul 8, 2026
# Description

The body_com event term added to the base velocity cfg caused errors in
some locomotion environments if the body was not named "base". This PR
disables the event term for these environments.

Fixes isaac-sim#2574 

## 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)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] 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
-->
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.

Issue on page /source/overview/showroom.html

2 participants