Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Manager Based Cartpole Vision Example Environments #995

Merged

Conversation

glvov-bdai
Copy link
Collaborator

@glvov-bdai glvov-bdai commented Sep 17, 2024

Description

Adds manager based cartpole vision example environments.

Also uses theconvert_perspective_depth_to_orthogonal_depth functionality introduced in #976 , contains a duplicate copy of the method and test for completeness of the PR. Will be synced with main to remove this duplicate copy once #976 is merged into main, or #976 will be synced with main if this PR is merged first

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Screenshots

image

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

Testing

Training converged in both RGB and Depth at similar rates to the direct environments

@glvov-bdai glvov-bdai changed the title Create Manager Based Cartpole Example Environments Create Manager Based Cartpole Vision Example Environments Sep 17, 2024
@jsmith-bdai
Copy link
Collaborator

Will review this soon!

Can you update the base branch to be the one from #976 so only new changes are reviewed here 🙏. Can help out with this if it doesn't make sense

@glvov-bdai glvov-bdai force-pushed the feature/manager_based_vision_cartpole_envs branch from 5ae458c to c1c7972 Compare September 20, 2024 17:50
@glvov-bdai glvov-bdai marked this pull request as ready for review September 20, 2024 17:51
@garylvov garylvov force-pushed the feature/manager_based_vision_cartpole_envs branch from 541c029 to 549e44a Compare September 21, 2024 02:35
@garylvov garylvov force-pushed the feature/manager_based_vision_cartpole_envs branch from 549e44a to a35a979 Compare September 21, 2024 02:45
@glvov-bdai glvov-bdai self-assigned this Sep 23, 2024
Copy link
Collaborator

@jsmith-bdai jsmith-bdai left a comment

Choose a reason for hiding this comment

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

Approving to unblock, looks good!

glvov-bdai and others added 3 commits September 24, 2024 10:03
…vations.py

Co-authored-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
Signed-off-by: glvov-bdai <glvov@theaiinstitute.com>
@glvov-bdai glvov-bdai force-pushed the feature/manager_based_vision_cartpole_envs branch from 98dc71c to 83bd480 Compare September 24, 2024 15:01
Signed-off-by: glvov-bdai <glvov@theaiinstitute.com>
Copy link
Collaborator

@Dhoeller19 Dhoeller19 left a comment

Choose a reason for hiding this comment

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

Thanks @garylvov!

@glvov-bdai
Copy link
Collaborator Author

@jsmith-bdai ready to merge

Co-authored-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
Signed-off-by: glvov-bdai <glvov@theaiinstitute.com>
@jsmith-bdai jsmith-bdai merged commit 2804ff3 into isaac-sim:main Sep 25, 2024
1 of 2 checks passed
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
)

# Description

Adds manager based cartpole vision example environments. 

Also uses the`convert_perspective_depth_to_orthogonal_depth `
functionality introduced in isaac-sim#976 , contains a duplicate copy of the
method and test for completeness of the PR. Will be synced with main to
remove this duplicate copy once isaac-sim#976 is merged into main, or isaac-sim#976 will
be synced with main if this PR is merged first

## Type of change

- New feature (non-breaking change which adds functionality)
- This change requires a documentation update

## Screenshots

![image](https://github.com/user-attachments/assets/4cce3923-b199-4469-b8d0-9d8d8abb3456)

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

## Testing

Training converged in both RGB and Depth at similar rates to the direct
environments

---------

Signed-off-by: garylvov <67614381+garylvov@users.noreply.github.com>
Signed-off-by: glvov-bdai <glvov@theaiinstitute.com>
Co-authored-by: garylvov <gary.lvov@gmail.com>
Co-authored-by: garylvov <67614381+garylvov@users.noreply.github.com>
Co-authored-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
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