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

Humanoid details #1703

Merged
merged 11 commits into from
Dec 4, 2023
Merged

Humanoid details #1703

merged 11 commits into from
Dec 4, 2023

Conversation

xavierpuigf
Copy link
Contributor

Motivation and Context

Improve the humanoid structure, add tests and a script to convert SMPL-X to humanoid motions.

How Has This Been Tested

Ran and verified tests.

Types of changes

  • [Development] A pull request that add new features to the habitat-lab task and environment codebase. Development Pull Requests must be small (less that 500 lines of code change), have unit testing, very extensive documentation and examples. These are typically new tasks, environments, sensors, etc... The review process for these Pull Request is longer because these changes will be maintained by our core team of developers, so make sure your changes are easy to understand!

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation if required.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes if required.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 29, 2023
Copy link
Contributor

@aclegg3 aclegg3 left a comment

Choose a reason for hiding this comment

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

Overall nice to see feature completion, documentation, and testing. Added some nits and questions.
Need type hints and complete docstrings throughout.
I'm fine merging changes sequentially, but I think we need to do a bit of redesign to make the system more friendly for generic skeleton representations.

class Motion:
"""
Contains a sequential motion, corresponding to a sequence of poses
:param joints_quat_array: num_poses x num_joints x 4 array, containing the join orientations
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we assuming that all humanoids will have quaternions only for joint rep? This may apply to AMASS, but is not generic.

The ManagedBulletArticulatedObject class has functionality to represent and query degrees of freedom (dofs) generically.

habitat-lab/habitat/articulated_agents/humanoids/README.md Outdated Show resolved Hide resolved
habitat-lab/habitat/articulated_agents/humanoids/README.md Outdated Show resolved Hide resolved
habitat-lab/habitat/articulated_agents/humanoids/README.md Outdated Show resolved Hide resolved
habitat-lab/habitat/articulated_agents/humanoids/README.md Outdated Show resolved Hide resolved
habitat-lab/habitat/articulated_agents/humanoids/README.md Outdated Show resolved Hide resolved
habitat-lab/habitat/utils/humanoid_utils.py Outdated Show resolved Hide resolved
test/test_humanoid.py Outdated Show resolved Hide resolved
Copy link
Contributor

@aclegg3 aclegg3 left a comment

Choose a reason for hiding this comment

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

Thanks for addressing comments. We'll iterate on the generality.

@xavierpuigf xavierpuigf merged commit 4b8ae54 into main Dec 4, 2023
4 checks passed
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
* updates

* any motion with humanoids

* update

* update

* Update habitat-lab/habitat/articulated_agents/humanoids/README.md

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>

* remove title without content

* Update habitat-lab/habitat/articulated_agents/humanoids/README.md

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>

* Update habitat-lab/habitat/articulated_agents/humanoids/README.md

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>

* added todo comment

---------

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>
HHYHRHY pushed a commit to SgtVincent/habitat-lab that referenced this pull request Aug 31, 2024
* updates

* any motion with humanoids

* update

* update

* Update habitat-lab/habitat/articulated_agents/humanoids/README.md

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>

* remove title without content

* Update habitat-lab/habitat/articulated_agents/humanoids/README.md

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>

* Update habitat-lab/habitat/articulated_agents/humanoids/README.md

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>

* added todo comment

---------

Co-authored-by: Alexander Clegg <alexanderwclegg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants