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

[Bug] docstrings documents wrong return dimensions #1651

Closed
2 tasks done
zoctipus opened this issue Jan 9, 2025 · 1 comment · Fixed by #1652
Closed
2 tasks done

[Bug] docstrings documents wrong return dimensions #1651

zoctipus opened this issue Jan 9, 2025 · 1 comment · Fixed by #1652
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@zoctipus
Copy link
Contributor

zoctipus commented Jan 9, 2025

Describe the bug

Articulation Data

for the data
'''
body_link_pos_w
body_link_quat_w
body_link_vel_w
body_link_lin_vel_w
body_link_ang_vel_w
body_com_pos_w
body_com_quat_w
body_com_vel_w
body_com_lin_vel_w
body_com_ang_vel_w
'''

The actual dimension are (num_instances, num_bodies, x), but the docstring says (num_instances, 1, x)

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo
@zoctipus zoctipus changed the title [Bug] Bug title [Bug] docstrings documents wrong return dimensions Jan 9, 2025
@RandomOakForest RandomOakForest added bug Something isn't working documentation Improvements or additions to documentation labels Jan 9, 2025
@RandomOakForest
Copy link
Collaborator

Thanks for posting this. We will review.

AntoineRichard pushed a commit to AntoineRichard/IsaacLab that referenced this issue Jan 15, 2025
…ion (isaac-sim#1652)

# Description

Fixes docstring in Articulation data, where rigid body properties should
be of dimension (num_instances, num_bodies, x) instead of
(num_instances, 1, x).

Fixes isaac-sim#1651

<!-- 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

docstring fix.

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

**Before Change**

for the data
'''
body_link_pos_w
body_link_quat_w
body_link_vel_w
body_link_lin_vel_w
body_link_ang_vel_w
body_com_pos_w
body_com_quat_w
body_com_vel_w
body_com_lin_vel_w
body_com_ang_vel_w
'''

The actual dimension are (num_instances, num_bodies, x),

 but the docstring says (num_instances, 1, x)

**After Change**

docstring says (num_instances, num_bodies, x)


## Checklist

- [ ] 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
- [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: Kelly Guo <kellyguo123@hotmail.com>
Co-authored-by: Kelly Guo <kellyguo123@hotmail.com>
Co-authored-by: James Tigue <166445701+jtigue-bdai@users.noreply.github.com>
Co-authored-by: Kelly Guo <kellyg@nvidia.com>
hapatel-bdai pushed a commit that referenced this issue Jan 21, 2025
…ion (#1652)

# Description

Fixes docstring in Articulation data, where rigid body properties should
be of dimension (num_instances, num_bodies, x) instead of
(num_instances, 1, x).

Fixes #1651

<!-- 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

docstring fix.

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

**Before Change**

for the data
'''
body_link_pos_w
body_link_quat_w
body_link_vel_w
body_link_lin_vel_w
body_link_ang_vel_w
body_com_pos_w
body_com_quat_w
body_com_vel_w
body_com_lin_vel_w
body_com_ang_vel_w
'''

The actual dimension are (num_instances, num_bodies, x),

 but the docstring says (num_instances, 1, x)

**After Change**

docstring says (num_instances, num_bodies, x)


## Checklist

- [ ] 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
- [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: Kelly Guo <kellyguo123@hotmail.com>
Co-authored-by: Kelly Guo <kellyguo123@hotmail.com>
Co-authored-by: James Tigue <166445701+jtigue-bdai@users.noreply.github.com>
Co-authored-by: Kelly Guo <kellyg@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants