From f3deb78c7cbaae078fab0c3455c948dfeafd88ce Mon Sep 17 00:00:00 2001 From: Xavier Puig Date: Wed, 5 Feb 2025 19:22:38 -0800 Subject: [PATCH 1/2] Update humanoid_seq_pose_controller.py Make default offset a Vector3 --- .../humanoid_seq_pose_controller.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py b/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py index 18834096b5..63626ec6fd 100644 --- a/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py +++ b/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py @@ -8,12 +8,11 @@ import magnum as mn import numpy as np - from habitat.articulated_agent_controllers import ( HumanoidBaseController, Motion, ) - +from habitat.articulated_agent_controllers.humanoid_base_controller import BASE_HUMANOID_OFFSET class HumanoidSeqPoseController(HumanoidBaseController): """ @@ -28,7 +27,7 @@ def __init__( self, motion_pose_path, motion_fps=30, - base_offset=(0, 0.9, 0), + base_offset=BASE_HUMANOID_OFFSET, ): super().__init__(motion_fps, base_offset) From 97cd2fe580e3dab1e54a82c44273683082efeb10 Mon Sep 17 00:00:00 2001 From: Xavier Puig Date: Wed, 5 Feb 2025 19:28:09 -0800 Subject: [PATCH 2/2] Update humanoid_seq_pose_controller.py --- .../humanoid_seq_pose_controller.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py b/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py index 63626ec6fd..3cf71482e4 100644 --- a/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py +++ b/habitat-lab/habitat/articulated_agent_controllers/humanoid_seq_pose_controller.py @@ -8,11 +8,14 @@ import magnum as mn import numpy as np + from habitat.articulated_agent_controllers import ( HumanoidBaseController, Motion, ) -from habitat.articulated_agent_controllers.humanoid_base_controller import BASE_HUMANOID_OFFSET +from habitat.articulated_agent_controllers.humanoid_base_controller import ( + BASE_HUMANOID_OFFSET +) class HumanoidSeqPoseController(HumanoidBaseController): """