Upload README.md
Browse files- g1/README.md +132 -0
g1/README.md
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Retargeted AMASS for Robotics
|
2 |
+
|
3 |
+
## Project Overview
|
4 |
+
|
5 |
+
This project aims to retarget motion data from the AMASS dataset to various robot models and open-source the retargeted data to facilitate research and applications in robotics and human-robot interaction. AMASS (Archive of Motion Capture as Surface Shapes) is a high-quality human motion capture dataset, and the SMPL-X model is a powerful tool for generating realistic human motion data.
|
6 |
+
|
7 |
+
By adapting the motion data from AMASS to different robot models, we hope to provide a more diverse and accessible motion dataset for robot training and human-robot interaction.
|
8 |
+
|
9 |
+
## Dataset Content
|
10 |
+
|
11 |
+
This open-source project includes the following:
|
12 |
+
1. **Retargeted Motions**: Motion files retargeted from AMASS to various robot models.
|
13 |
+
|
14 |
+
- **Unitree G1**:
|
15 |
+
|
16 |
+
<iframe src="//player.bilibili.com/player.html?bvid=BV1zd6iYkEZ2&page=1&high_quality=1&danmaku=0" allowfullscreen="allowfullscreen" width="100%" height="500" scrolling="no" frameborder="0" sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts"></iframe>
|
17 |
+
|
18 |
+
The retargeted motions for the Unitree G1 robot are generated based on the official open-source model provided by Unitree.
|
19 |
+
|
20 |
+
https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_lock_waist_rev_1_0.xml
|
21 |
+
|
22 |
+
The joint positions comply with the constraints defined in the XML file.
|
23 |
+
|
24 |
+
data shape:[-1,36]
|
25 |
+
|
26 |
+
0:3 root world position
|
27 |
+
|
28 |
+
3:7 root quaternion rotation, order: xyzw
|
29 |
+
|
30 |
+
7:36 joint positions
|
31 |
+
|
32 |
+
joint order:
|
33 |
+
|
34 |
+
```txt
|
35 |
+
left_hip_pitch_joint
|
36 |
+
left_hip_roll_joint
|
37 |
+
left_hip_yaw_joint
|
38 |
+
left_knee_joint
|
39 |
+
left_ankle_pitch_joint
|
40 |
+
left_ankle_roll_joint
|
41 |
+
right_hip_pitch_joint
|
42 |
+
right_hip_roll_joint
|
43 |
+
right_hip_yaw_joint
|
44 |
+
right_knee_joint
|
45 |
+
right_ankle_pitch_joint
|
46 |
+
right_ankle_roll_joint
|
47 |
+
waist_yaw_joint
|
48 |
+
waist_roll_joint
|
49 |
+
waist_pitch_joint
|
50 |
+
left_shoulder_pitch_joint
|
51 |
+
left_shoulder_roll_joint
|
52 |
+
left_shoulder_yaw_joint
|
53 |
+
left_elbow_joint
|
54 |
+
left_wrist_roll_joint
|
55 |
+
left_wrist_pitch_joint
|
56 |
+
left_wrist_yaw_joint
|
57 |
+
right_shoulder_pitch_joint
|
58 |
+
right_shoulder_roll_joint
|
59 |
+
right_shoulder_yaw_joint
|
60 |
+
right_elbow_joint
|
61 |
+
right_wrist_roll_joint
|
62 |
+
right_wrist_pitch_joint
|
63 |
+
right_wrist_yaw_joint
|
64 |
+
```
|
65 |
+
|
66 |
+
- **Others**: Future Updates
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
2. **Usage Examples**: Code examples on how to use the retargeted data.
|
71 |
+
|
72 |
+
./g1/visualize.py
|
73 |
+
|
74 |
+
|
75 |
+
|
76 |
+
3. **License Files**: Original license information for each sub-dataset within AMASS.
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
## License
|
81 |
+
|
82 |
+
The retargeted data in this project is derived from the AMASS dataset and therefore adheres to the original license terms of AMASS. Each sub-dataset within AMASS may have different licenses, so please ensure compliance with the following requirements when using the data:
|
83 |
+
- **Propagate Original Licenses**: When using or distributing the retargeted data, you must include and comply with the original licenses of the sub-datasets within AMASS.
|
84 |
+
- **Attribution Requirements**: Properly cite this work and the original authors and sources of the AMASS dataset and its sub-datasets.
|
85 |
+
|
86 |
+
For detailed license information, please refer to the `LICENSE` file in this project.
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
## Acknowledgments
|
91 |
+
|
92 |
+
This project is built on the AMASS dataset and the SMPL-X model. Special thanks to the research team at the Max Planck Institute for Intelligent Systems for providing this valuable resource.
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
## Citation
|
97 |
+
|
98 |
+
If you use the data or code from this project, please cite this work and relevant papers for AMASS and SMPL-X:
|
99 |
+
```bibtex
|
100 |
+
@misc{Retargeted_AMASS_R,
|
101 |
+
title={Retargeted AMASS for Robotics},
|
102 |
+
author={Kun Zhao},
|
103 |
+
url={https://huggingface.co/datasets/fleaven/Retargeted_AMASS_for_robotics}
|
104 |
+
}
|
105 |
+
|
106 |
+
@inproceedings{AMASS2019,
|
107 |
+
title={AMASS: Archive of Motion Capture as Surface Shapes},
|
108 |
+
author={Mahmood, Naureen and Ghorbani, Nima and Troje, Nikolaus F. and Pons-Moll, Gerard and Black, Michael J.},
|
109 |
+
booktitle={International Conference on Computer Vision (ICCV)},
|
110 |
+
year={2019}
|
111 |
+
}
|
112 |
+
|
113 |
+
@inproceedings{SMPL-X2019,
|
114 |
+
title={Expressive Body Capture: 3D Hands, Face, and Body from a Single Image},
|
115 |
+
author={Pavlakos, Georgios and Choutas, Vasileios and Ghorbani, Nima and Bolkart, Timo and Osman, Ahmed A. A. and Tzionas, Dimitrios and Black, Michael J.},
|
116 |
+
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
117 |
+
year={2019}
|
118 |
+
}
|
119 |
+
```
|
120 |
+
|
121 |
+
## Contact
|
122 |
+
|
123 |
+
For any questions or suggestions, please contact:
|
124 |
+
- **Kun Zhao**: [email protected]
|
125 |
+
|
126 |
+
|
127 |
+
|
128 |
+
For more information, follow my Xiaohongshu and Bilibili:
|
129 |
+
|
130 |
+
https://www.xiaohongshu.com/user/profile/60cdc5360000000001007e33
|
131 |
+
|
132 |
+
https://space.bilibili.com/678369952
|