# gmr_study **Repository Path**: xmlcy/gmr_study ## Basic Information - **Project Name**: gmr_study - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-19 - **Last Updated**: 2025-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GMR: General Motion Retargeting(Fork for IK-CONFIG auto-generation) arXiv Paper arXiv Paper License: MIT Version Twitter Blog Blog ![Banner for GMR](./assets/GMR.png) ![GMR](./assets/GMR_pipeline.png) This repository is forked from [GMR](https://github.com/YanjieZe/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文件夹 ## 安装要求 ```bash pip install lxml pip install matplotlib ``` # 自动生成ik_config文件的human_scale与pos/quat_offset ## 基础配置 -pose_inits中添加_tpose.json文件(设置机器人的初始位姿为T-pose) \ -ik_configs中添加bvh/smplx_to_robot_origin.json文件(主要需要joint_match)\ 将人形机器人与human_data在T-pose下完全对齐 ![T-pose](./ik_config_manager/bvh-TPOSE.png) ## 具体使用 BVH格式: ```bash 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格式: ```bash 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 ```