Skip to content

About

[arXiv 2025] GMR: General Motion Retargeting. Retarget human motions into diverse humanoid robots in real time on CPU. Add IK-CONFIG auto-generation function for humanoid robots.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

GMR: General Motion Retargeting(Fork for IK-CONFIG auto-generation)

arXiv Paper arXiv Paper License: MIT Version Twitter Blog Blog

Banner for GMR

GMR

This repository is forked from GMR

Please refer to the original project's README first.

This repository has been modified to add IK-CONFIG auto-generation function for your own humanoid robots.

机器人IK_CONFIG自动生成

详见ik_config_manager文件夹
辅助生成human_scale与pos/quat_offset

安装要求

pip install lxml
pip install matplotlib

基础配置

-pose_inits中添加_tpose.json文件(设置机器人的初始位姿为T-pose)
-ik_configs中添加bvh/smplx_to_robot_origin.json文件(主要需要joint_match)
将人形机器人与human_data在T-pose下完全对齐

T-pose

具体使用

BVH格式:

python ik_config_manager/generate_keypoint_mapping_bvh.py \
    --bvh_file ik_config_manager/TPOSE.bvh \
    --robot unitree_g1 \
    --loop \
    --robot_qpos_init ik_config_manager/pose_inits/unitree_g1_tpose.json \
    --ik_config_in general_motion_retargeting/ik_configs/bvh_lafan1_to_g1.json \
    --ik_config_out general_motion_retargeting/ik_configs/bvh_lafan1_to_g1_auto.json

SMPLX格式:

python ik_config_manager/generate_keypoint_mapping_smplx.py \
    --smplx_file ik_config_manager/SMPLX_TPOSE_UNIFIED_AMASS.npz \
    --robot unitree_g1 \
    --loop \
    --robot_qpos_init ik_config_manager/pose_inits/unitree_g1_tpose.json \
    --ik_config_in general_motion_retargeting/ik_configs/smplx_to_g1.json \
    --ik_config_out general_motion_retargeting/ik_configs/smplx_to_g1_auto.json

About

[arXiv 2025] GMR: General Motion Retargeting. Retarget human motions into diverse humanoid robots in real time on CPU. Add IK-CONFIG auto-generation function for humanoid robots.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages