LeCAR-Lab / human2humanoid

[IROS 2024] Learning Human-to-Humanoid Real-Time Whole-Body Teleoperation. [CoRL 2024] OmniH2O: Universal and Dexterous Human-to-Humanoid Whole-Body Teleoperation and Learning
https://omni.human2humanoid.com/
281 stars 14 forks source link

run grad_fit_h1_shape.py get "'left_ankle_link' is not in list" error #3

Open zhanggang11863976 opened 1 month ago

zhanggang11863976 commented 1 month ago

2024-10-04 17:43:57,027 - INFO - logger - logger initialized Traceback (most recent call last): File "scripts/data_process/grad_fit_h1_shape.py", line 65, in h1_joint_pick_idx = [ h1_joint_names_augment.index(j) for j in h1_joint_pick] File "scripts/data_process/grad_fit_h1_shape.py", line 65, in h1_joint_pick_idx = [ h1_joint_names_augment.index(j) for j in h1_joint_pick] ValueError: 'left_ankle_link' is not in list

wuhaichao87 commented 1 month ago

h1_joint_names = ['pelvis', 'left_hip_yaw_link', 'left_hip_pitch_link', 'left_hip_roll_link', 'left_knee_link',

'left_ankle_pitch_link',

'left_ankle_roll_link',

'left_ankle_link', 'right_hip_yaw_link', 'right_hip_pitch_link', 'right_hip_roll_link', 'right_knee_link',

'right_ankle_pitch_link',

'right_ankle_roll_link',

'right_ankle_link', 'torso_link', 'left_shoulder_pitch_link', 'left_shoulder_roll_link', 'left_shoulder_yaw_link',

'left_elbow_pitch_link',

'left_elbow_roll_link',

'left_elbow_link',

'left_wrist_pitch_link',

'left_wrist_yaw_link',

'right_shoulder_pitch_link', 'right_shoulder_roll_link', 'right_shoulder_yaw_link',

'right_elbow_pitch_link',

'right_elbow_roll_link',

'right_elbow_link',

'right_wrist_pitch_link',

'right_wrist_yaw_link'

]

TairanHe commented 4 weeks ago

We’ll be updating the retargeting code with a cleaner, improved version soon. Please stay tuned, and in the meantime, use the provided retargeted .pkl file for temporary debugging with our code.

HaodongHuang-W commented 4 weeks ago

I encountered the same problem.

IlanElfen commented 3 weeks ago

Me too