Skip to content

Commit

Permalink
Update G1 to latest model from Unitree.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzakka committed Dec 10, 2024
1 parent 483d231 commit 17ee3df
Show file tree
Hide file tree
Showing 60 changed files with 277 additions and 350 deletions.
15 changes: 9 additions & 6 deletions unitree_g1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,29 @@
> [!IMPORTANT]
> Requires MuJoCo 2.3.4 or later.
## Changelog

- 12/10/2024: Use newly updated model from Unitree Robotics, namely model `g1_29dof_rev_1_0`.
- 05/20/2024: Initial release.

## Overview

This package contains a simplified robot description (MJCF) of the [G1 Humanoid
Robot](https://www.unitree.com/g1/) developed by [Unitree
Robotics](https://www.unitree.com/). It is derived from the [publicly available
MJCF
description](https://github.com/unitreerobotics/unitree_ros/tree/master/robots/g1_description).
description](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_rev_1_0.xml). Specifically, this model has the fully actuated waist but not the full hands.

<p float="left">
<img src="g1.png" width="400">
</p>

## MJCF derivation steps

1. Copied the MJCF description from [g1_description](https://github.com/unitreerobotics/unitree_ros/tree/master/robots/g1_description).
1. Copied the MJCF description from [g1_description](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_rev_1_0.xml).
2. Manually edited the MJCF to extract common properties into the `<default>` section.
3. Added sites for the IMU, head and feet.
4. Add IMU sensor (gyro, accelero, framequat).
5. Added stand keyframe.
6. Added spotlight and tracking light.
3. Added stand keyframe.
4. Added joint position actuators (needs tuning).

## License

Expand Down
Binary file modified unitree_g1/assets/head_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_ankle_pitch_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_ankle_roll_link.STL
Binary file not shown.
Binary file added unitree_g1/assets/left_elbow_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_elbow_pitch_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_elbow_roll_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_five_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_four_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_hip_pitch_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_hip_roll_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_hip_yaw_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_knee_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_one_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_palm_link.STL
Binary file not shown.
Binary file added unitree_g1/assets/left_rubber_hand.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_shoulder_pitch_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_shoulder_roll_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/left_shoulder_yaw_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_six_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_three_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_two_link.STL
Binary file not shown.
Binary file added unitree_g1/assets/left_wrist_pitch_link.STL
Binary file not shown.
Binary file added unitree_g1/assets/left_wrist_roll_link.STL
Binary file not shown.
Binary file added unitree_g1/assets/left_wrist_yaw_link.STL
Binary file not shown.
Binary file removed unitree_g1/assets/left_zero_link.STL
Binary file not shown.
Binary file modified unitree_g1/assets/logo_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/pelvis.STL
Diff not rendered.
Binary file modified unitree_g1/assets/pelvis_contour_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_ankle_pitch_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_ankle_roll_link.STL
Diff not rendered.
Binary file added unitree_g1/assets/right_elbow_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_elbow_pitch_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_elbow_roll_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_five_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_four_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_hip_pitch_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_hip_roll_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_hip_yaw_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_knee_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_one_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_palm_link.STL
Diff not rendered.
Binary file added unitree_g1/assets/right_rubber_hand.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_shoulder_pitch_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_shoulder_roll_link.STL
Diff not rendered.
Binary file modified unitree_g1/assets/right_shoulder_yaw_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_six_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_three_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_two_link.STL
Diff not rendered.
Binary file added unitree_g1/assets/right_wrist_pitch_link.STL
Diff not rendered.
Binary file added unitree_g1/assets/right_wrist_roll_link.STL
Diff not rendered.
Binary file added unitree_g1/assets/right_wrist_yaw_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/right_zero_link.STL
Diff not rendered.
Binary file removed unitree_g1/assets/torso_link.STL
Diff not rendered.
Binary file added unitree_g1/assets/torso_link_rev_1_0.STL
Diff not rendered.
Binary file added unitree_g1/assets/waist_roll_link_rev_1_0.STL
Diff not rendered.
Binary file added unitree_g1/assets/waist_yaw_link_rev_1_0.STL
Diff not rendered.
Binary file modified unitree_g1/g1.png
608 changes: 266 additions & 342 deletions unitree_g1/g1.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions unitree_g1/scene.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<mujoco model="g1 scene">
<mujoco model="g1_29dof_rev_1_0 scene">
<include file="g1.xml"/>

<statistic center="1 -0.8 1.1" extent=".3"/>
<statistic center="1 -0.8 1.1" extent=".35"/>

<visual>
<headlight diffuse="0.6 0.6 0.6" ambient="0.1 0.1 0.1" specular="0.9 0.9 0.9"/>
Expand Down

0 comments on commit 17ee3df

Please sign in to comment.