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

[hab3_merge] Updates in humanoid controller #1582

Merged
merged 4 commits into from
Sep 24, 2023
Merged

Conversation

xavierpuigf
Copy link
Contributor

Motivation and Context

Updates in the humanoid controller. Changes so that the humanoid can have relative offset transformations with a fixed base, needed for path planning with lower foot skating. Updated pytests to support humanoids with skin.

How Has This Been Tested

Ran pytests.

Types of changes

  • [Bug Fix] (non-breaking change which fixes an issue)
  • [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.

@xavierpuigf xavierpuigf requested a review from aclegg3 September 22, 2023 23:15
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 22, 2023
@xavierpuigf xavierpuigf requested a review from ASzot September 22, 2023 23:15
Copy link
Contributor

@ASzot ASzot left a comment

Choose a reason for hiding this comment

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

A minor comment, but other than that LGTM.


self.rest_joints = None

def set_rest_pose_path(self, rest_pose_path):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this a publicly exposed method and the external agent manager is responsible for calling it? Can the KinematicHumanoid object just directly set the rest pose in its own constructor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently agents can only be passed the urdf_path. Is there a way we can pass more parameters? If so, I would pass the path to the resting pose to the constructor

@@ -77,6 +77,8 @@ def __init__(self, cfg, sim):
agent_cfg = cfg.agents[agent_name]
agent_cls = eval(agent_cfg.articulated_agent_type)
agent = agent_cls(agent_cfg.articulated_agent_urdf, sim)
if agent_cfg.motion_data_path != "":
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer not having this added complexity here and keeping the motion_data_path internal to the humanoid components.

@xavierpuigf xavierpuigf merged commit c3ac6b7 into main Sep 24, 2023
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
* updates humanoid

* added updated humanoid controller

* mobile manipulator now receives agent confnig

* updates test
HHYHRHY pushed a commit to SgtVincent/EMOS that referenced this pull request Aug 31, 2024
* updates humanoid

* added updated humanoid controller

* mobile manipulator now receives agent confnig

* updates test
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