diff --git a/unitree_g1/README.md b/unitree_g1/README.md index 265c902d..fe246081 100644 --- a/unitree_g1/README.md +++ b/unitree_g1/README.md @@ -3,26 +3,33 @@ > [!IMPORTANT] > Requires MuJoCo 2.3.4 or later. +## Changelog + +- 10/12/2024: Use updated models from Unitree's official [repo](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description) (sha: c20ca8f1fe5e519474c6c8d10b1ce5c719dd7a65). + - Model without hands: [g1_29dof_rev_1_0](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_rev_1_0.xml) + - Model with hands: [g1_29dof_with_hand_rev_1_0](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_with_hand_rev_1_0.xml) +- 20/05/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.

+

## 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 `` 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). +5. Applied similar edits to `g1_with_hands.xml`. ## License diff --git a/unitree_g1/assets/head_link.STL b/unitree_g1/assets/head_link.STL index 455274f4..2ee5fba1 100644 Binary files a/unitree_g1/assets/head_link.STL and b/unitree_g1/assets/head_link.STL differ diff --git a/unitree_g1/assets/left_ankle_pitch_link.STL b/unitree_g1/assets/left_ankle_pitch_link.STL index c291f607..69de8490 100644 Binary files a/unitree_g1/assets/left_ankle_pitch_link.STL and b/unitree_g1/assets/left_ankle_pitch_link.STL differ diff --git a/unitree_g1/assets/left_ankle_roll_link.STL b/unitree_g1/assets/left_ankle_roll_link.STL index f2b6ae7f..8864e9f9 100644 Binary files a/unitree_g1/assets/left_ankle_roll_link.STL and b/unitree_g1/assets/left_ankle_roll_link.STL differ diff --git a/unitree_g1/assets/left_elbow_link.STL b/unitree_g1/assets/left_elbow_link.STL new file mode 100644 index 00000000..1a96d99b Binary files /dev/null and b/unitree_g1/assets/left_elbow_link.STL differ diff --git a/unitree_g1/assets/left_elbow_pitch_link.STL b/unitree_g1/assets/left_elbow_pitch_link.STL deleted file mode 100644 index 5ba2fdeb..00000000 Binary files a/unitree_g1/assets/left_elbow_pitch_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_elbow_roll_link.STL b/unitree_g1/assets/left_elbow_roll_link.STL deleted file mode 100644 index 9741ac03..00000000 Binary files a/unitree_g1/assets/left_elbow_roll_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_five_link.STL b/unitree_g1/assets/left_five_link.STL deleted file mode 100644 index cc35d512..00000000 Binary files a/unitree_g1/assets/left_five_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_four_link.STL b/unitree_g1/assets/left_four_link.STL deleted file mode 100644 index 6392be77..00000000 Binary files a/unitree_g1/assets/left_four_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_hand_index_0_link.STL b/unitree_g1/assets/left_hand_index_0_link.STL new file mode 100644 index 00000000..8069369a Binary files /dev/null and b/unitree_g1/assets/left_hand_index_0_link.STL differ diff --git a/unitree_g1/assets/left_hand_index_1_link.STL b/unitree_g1/assets/left_hand_index_1_link.STL new file mode 100644 index 00000000..89d231d7 Binary files /dev/null and b/unitree_g1/assets/left_hand_index_1_link.STL differ diff --git a/unitree_g1/assets/left_hand_middle_0_link.STL b/unitree_g1/assets/left_hand_middle_0_link.STL new file mode 100644 index 00000000..8069369a Binary files /dev/null and b/unitree_g1/assets/left_hand_middle_0_link.STL differ diff --git a/unitree_g1/assets/left_hand_middle_1_link.STL b/unitree_g1/assets/left_hand_middle_1_link.STL new file mode 100644 index 00000000..89d231d7 Binary files /dev/null and b/unitree_g1/assets/left_hand_middle_1_link.STL differ diff --git a/unitree_g1/assets/left_hand_palm_link.STL b/unitree_g1/assets/left_hand_palm_link.STL new file mode 100644 index 00000000..7d595ed8 Binary files /dev/null and b/unitree_g1/assets/left_hand_palm_link.STL differ diff --git a/unitree_g1/assets/left_hand_thumb_0_link.STL b/unitree_g1/assets/left_hand_thumb_0_link.STL new file mode 100644 index 00000000..3028bb4d Binary files /dev/null and b/unitree_g1/assets/left_hand_thumb_0_link.STL differ diff --git a/unitree_g1/assets/left_hand_thumb_1_link.STL b/unitree_g1/assets/left_hand_thumb_1_link.STL new file mode 100644 index 00000000..d1c080c8 Binary files /dev/null and b/unitree_g1/assets/left_hand_thumb_1_link.STL differ diff --git a/unitree_g1/assets/left_hand_thumb_2_link.STL b/unitree_g1/assets/left_hand_thumb_2_link.STL new file mode 100644 index 00000000..8b32e966 Binary files /dev/null and b/unitree_g1/assets/left_hand_thumb_2_link.STL differ diff --git a/unitree_g1/assets/left_hip_pitch_link.STL b/unitree_g1/assets/left_hip_pitch_link.STL index 1e56afc8..5b751c76 100644 Binary files a/unitree_g1/assets/left_hip_pitch_link.STL and b/unitree_g1/assets/left_hip_pitch_link.STL differ diff --git a/unitree_g1/assets/left_hip_roll_link.STL b/unitree_g1/assets/left_hip_roll_link.STL index d1df2f43..778437ff 100644 Binary files a/unitree_g1/assets/left_hip_roll_link.STL and b/unitree_g1/assets/left_hip_roll_link.STL differ diff --git a/unitree_g1/assets/left_hip_yaw_link.STL b/unitree_g1/assets/left_hip_yaw_link.STL index deadd3c9..383093ab 100644 Binary files a/unitree_g1/assets/left_hip_yaw_link.STL and b/unitree_g1/assets/left_hip_yaw_link.STL differ diff --git a/unitree_g1/assets/left_knee_link.STL b/unitree_g1/assets/left_knee_link.STL index e0095a47..f2e98e54 100644 Binary files a/unitree_g1/assets/left_knee_link.STL and b/unitree_g1/assets/left_knee_link.STL differ diff --git a/unitree_g1/assets/left_one_link.STL b/unitree_g1/assets/left_one_link.STL deleted file mode 100644 index 6ee97bd7..00000000 Binary files a/unitree_g1/assets/left_one_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_palm_link.STL b/unitree_g1/assets/left_palm_link.STL deleted file mode 100644 index 524a0e21..00000000 Binary files a/unitree_g1/assets/left_palm_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_rubber_hand.STL b/unitree_g1/assets/left_rubber_hand.STL new file mode 100644 index 00000000..c44830f1 Binary files /dev/null and b/unitree_g1/assets/left_rubber_hand.STL differ diff --git a/unitree_g1/assets/left_shoulder_pitch_link.STL b/unitree_g1/assets/left_shoulder_pitch_link.STL index e54d6567..e698311f 100644 Binary files a/unitree_g1/assets/left_shoulder_pitch_link.STL and b/unitree_g1/assets/left_shoulder_pitch_link.STL differ diff --git a/unitree_g1/assets/left_shoulder_roll_link.STL b/unitree_g1/assets/left_shoulder_roll_link.STL index 75dc809b..80bca84a 100644 Binary files a/unitree_g1/assets/left_shoulder_roll_link.STL and b/unitree_g1/assets/left_shoulder_roll_link.STL differ diff --git a/unitree_g1/assets/left_shoulder_yaw_link.STL b/unitree_g1/assets/left_shoulder_yaw_link.STL index 4e5a7c98..281e6990 100644 Binary files a/unitree_g1/assets/left_shoulder_yaw_link.STL and b/unitree_g1/assets/left_shoulder_yaw_link.STL differ diff --git a/unitree_g1/assets/left_six_link.STL b/unitree_g1/assets/left_six_link.STL deleted file mode 100644 index 2739846f..00000000 Binary files a/unitree_g1/assets/left_six_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_three_link.STL b/unitree_g1/assets/left_three_link.STL deleted file mode 100644 index cc35d512..00000000 Binary files a/unitree_g1/assets/left_three_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_two_link.STL b/unitree_g1/assets/left_two_link.STL deleted file mode 100644 index b85b6457..00000000 Binary files a/unitree_g1/assets/left_two_link.STL and /dev/null differ diff --git a/unitree_g1/assets/left_wrist_pitch_link.STL b/unitree_g1/assets/left_wrist_pitch_link.STL new file mode 100644 index 00000000..82cc224a Binary files /dev/null and b/unitree_g1/assets/left_wrist_pitch_link.STL differ diff --git a/unitree_g1/assets/left_wrist_roll_link.STL b/unitree_g1/assets/left_wrist_roll_link.STL new file mode 100644 index 00000000..f3c263a7 Binary files /dev/null and b/unitree_g1/assets/left_wrist_roll_link.STL differ diff --git a/unitree_g1/assets/left_wrist_yaw_link.STL b/unitree_g1/assets/left_wrist_yaw_link.STL new file mode 100644 index 00000000..31be4fd4 Binary files /dev/null and b/unitree_g1/assets/left_wrist_yaw_link.STL differ diff --git a/unitree_g1/assets/left_zero_link.STL b/unitree_g1/assets/left_zero_link.STL deleted file mode 100644 index f50147ac..00000000 Binary files a/unitree_g1/assets/left_zero_link.STL and /dev/null differ diff --git a/unitree_g1/assets/logo_link.STL b/unitree_g1/assets/logo_link.STL index 20f7bba0..e9792098 100644 Binary files a/unitree_g1/assets/logo_link.STL and b/unitree_g1/assets/logo_link.STL differ diff --git a/unitree_g1/assets/pelvis.STL b/unitree_g1/assets/pelvis.STL index 5877dee1..691a779b 100644 Binary files a/unitree_g1/assets/pelvis.STL and b/unitree_g1/assets/pelvis.STL differ diff --git a/unitree_g1/assets/pelvis_contour_link.STL b/unitree_g1/assets/pelvis_contour_link.STL index 72fa4ac8..42434339 100644 Binary files a/unitree_g1/assets/pelvis_contour_link.STL and b/unitree_g1/assets/pelvis_contour_link.STL differ diff --git a/unitree_g1/assets/right_ankle_pitch_link.STL b/unitree_g1/assets/right_ankle_pitch_link.STL index 36e3a64a..e77d8a2f 100644 Binary files a/unitree_g1/assets/right_ankle_pitch_link.STL and b/unitree_g1/assets/right_ankle_pitch_link.STL differ diff --git a/unitree_g1/assets/right_ankle_roll_link.STL b/unitree_g1/assets/right_ankle_roll_link.STL index d0a2657a..d4261dd7 100644 Binary files a/unitree_g1/assets/right_ankle_roll_link.STL and b/unitree_g1/assets/right_ankle_roll_link.STL differ diff --git a/unitree_g1/assets/right_elbow_link.STL b/unitree_g1/assets/right_elbow_link.STL new file mode 100644 index 00000000..f259e381 Binary files /dev/null and b/unitree_g1/assets/right_elbow_link.STL differ diff --git a/unitree_g1/assets/right_elbow_pitch_link.STL b/unitree_g1/assets/right_elbow_pitch_link.STL deleted file mode 100644 index a62a4220..00000000 Binary files a/unitree_g1/assets/right_elbow_pitch_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_elbow_roll_link.STL b/unitree_g1/assets/right_elbow_roll_link.STL deleted file mode 100644 index 6010e8b2..00000000 Binary files a/unitree_g1/assets/right_elbow_roll_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_five_link.STL b/unitree_g1/assets/right_five_link.STL deleted file mode 100644 index 37f9dc23..00000000 Binary files a/unitree_g1/assets/right_five_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_four_link.STL b/unitree_g1/assets/right_four_link.STL deleted file mode 100644 index be81a79c..00000000 Binary files a/unitree_g1/assets/right_four_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_hand_index_0_link.STL b/unitree_g1/assets/right_hand_index_0_link.STL new file mode 100644 index 00000000..f87ad321 Binary files /dev/null and b/unitree_g1/assets/right_hand_index_0_link.STL differ diff --git a/unitree_g1/assets/right_hand_index_1_link.STL b/unitree_g1/assets/right_hand_index_1_link.STL new file mode 100644 index 00000000..6dea51ad Binary files /dev/null and b/unitree_g1/assets/right_hand_index_1_link.STL differ diff --git a/unitree_g1/assets/right_hand_middle_0_link.STL b/unitree_g1/assets/right_hand_middle_0_link.STL new file mode 100644 index 00000000..f87ad321 Binary files /dev/null and b/unitree_g1/assets/right_hand_middle_0_link.STL differ diff --git a/unitree_g1/assets/right_hand_middle_1_link.STL b/unitree_g1/assets/right_hand_middle_1_link.STL new file mode 100644 index 00000000..6dea51ad Binary files /dev/null and b/unitree_g1/assets/right_hand_middle_1_link.STL differ diff --git a/unitree_g1/assets/right_hand_palm_link.STL b/unitree_g1/assets/right_hand_palm_link.STL new file mode 100644 index 00000000..5ae00a78 Binary files /dev/null and b/unitree_g1/assets/right_hand_palm_link.STL differ diff --git a/unitree_g1/assets/right_hand_thumb_0_link.STL b/unitree_g1/assets/right_hand_thumb_0_link.STL new file mode 100644 index 00000000..1cae7f18 Binary files /dev/null and b/unitree_g1/assets/right_hand_thumb_0_link.STL differ diff --git a/unitree_g1/assets/right_hand_thumb_1_link.STL b/unitree_g1/assets/right_hand_thumb_1_link.STL new file mode 100644 index 00000000..c141fbf5 Binary files /dev/null and b/unitree_g1/assets/right_hand_thumb_1_link.STL differ diff --git a/unitree_g1/assets/right_hand_thumb_2_link.STL b/unitree_g1/assets/right_hand_thumb_2_link.STL new file mode 100644 index 00000000..e942923c Binary files /dev/null and b/unitree_g1/assets/right_hand_thumb_2_link.STL differ diff --git a/unitree_g1/assets/right_hip_pitch_link.STL b/unitree_g1/assets/right_hip_pitch_link.STL index 66b47ea2..998a0a0f 100644 Binary files a/unitree_g1/assets/right_hip_pitch_link.STL and b/unitree_g1/assets/right_hip_pitch_link.STL differ diff --git a/unitree_g1/assets/right_hip_roll_link.STL b/unitree_g1/assets/right_hip_roll_link.STL index 021dd7fe..47b2eebd 100644 Binary files a/unitree_g1/assets/right_hip_roll_link.STL and b/unitree_g1/assets/right_hip_roll_link.STL differ diff --git a/unitree_g1/assets/right_hip_yaw_link.STL b/unitree_g1/assets/right_hip_yaw_link.STL index 330e55a3..37185642 100644 Binary files a/unitree_g1/assets/right_hip_yaw_link.STL and b/unitree_g1/assets/right_hip_yaw_link.STL differ diff --git a/unitree_g1/assets/right_knee_link.STL b/unitree_g1/assets/right_knee_link.STL index 7be6860a..76d21a3d 100644 Binary files a/unitree_g1/assets/right_knee_link.STL and b/unitree_g1/assets/right_knee_link.STL differ diff --git a/unitree_g1/assets/right_one_link.STL b/unitree_g1/assets/right_one_link.STL deleted file mode 100644 index 93e103a3..00000000 Binary files a/unitree_g1/assets/right_one_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_palm_link.STL b/unitree_g1/assets/right_palm_link.STL deleted file mode 100644 index 7cd39cda..00000000 Binary files a/unitree_g1/assets/right_palm_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_rubber_hand.STL b/unitree_g1/assets/right_rubber_hand.STL new file mode 100644 index 00000000..0aacffbb Binary files /dev/null and b/unitree_g1/assets/right_rubber_hand.STL differ diff --git a/unitree_g1/assets/right_shoulder_pitch_link.STL b/unitree_g1/assets/right_shoulder_pitch_link.STL index 7e1d01da..3f5b4ed4 100644 Binary files a/unitree_g1/assets/right_shoulder_pitch_link.STL and b/unitree_g1/assets/right_shoulder_pitch_link.STL differ diff --git a/unitree_g1/assets/right_shoulder_roll_link.STL b/unitree_g1/assets/right_shoulder_roll_link.STL index f653871e..179d6175 100644 Binary files a/unitree_g1/assets/right_shoulder_roll_link.STL and b/unitree_g1/assets/right_shoulder_roll_link.STL differ diff --git a/unitree_g1/assets/right_shoulder_yaw_link.STL b/unitree_g1/assets/right_shoulder_yaw_link.STL index 01aa95ab..2ba6076a 100644 Binary files a/unitree_g1/assets/right_shoulder_yaw_link.STL and b/unitree_g1/assets/right_shoulder_yaw_link.STL differ diff --git a/unitree_g1/assets/right_six_link.STL b/unitree_g1/assets/right_six_link.STL deleted file mode 100644 index be81a79c..00000000 Binary files a/unitree_g1/assets/right_six_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_three_link.STL b/unitree_g1/assets/right_three_link.STL deleted file mode 100644 index 37f9dc23..00000000 Binary files a/unitree_g1/assets/right_three_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_two_link.STL b/unitree_g1/assets/right_two_link.STL deleted file mode 100644 index 1af670c0..00000000 Binary files a/unitree_g1/assets/right_two_link.STL and /dev/null differ diff --git a/unitree_g1/assets/right_wrist_pitch_link.STL b/unitree_g1/assets/right_wrist_pitch_link.STL new file mode 100644 index 00000000..da194543 Binary files /dev/null and b/unitree_g1/assets/right_wrist_pitch_link.STL differ diff --git a/unitree_g1/assets/right_wrist_roll_link.STL b/unitree_g1/assets/right_wrist_roll_link.STL new file mode 100644 index 00000000..26868d22 Binary files /dev/null and b/unitree_g1/assets/right_wrist_roll_link.STL differ diff --git a/unitree_g1/assets/right_wrist_yaw_link.STL b/unitree_g1/assets/right_wrist_yaw_link.STL new file mode 100644 index 00000000..d7889028 Binary files /dev/null and b/unitree_g1/assets/right_wrist_yaw_link.STL differ diff --git a/unitree_g1/assets/right_zero_link.STL b/unitree_g1/assets/right_zero_link.STL deleted file mode 100644 index 4fd999bd..00000000 Binary files a/unitree_g1/assets/right_zero_link.STL and /dev/null differ diff --git a/unitree_g1/assets/torso_link.STL b/unitree_g1/assets/torso_link.STL deleted file mode 100644 index b6a6d12b..00000000 Binary files a/unitree_g1/assets/torso_link.STL and /dev/null differ diff --git a/unitree_g1/assets/torso_link_rev_1_0.STL b/unitree_g1/assets/torso_link_rev_1_0.STL new file mode 100644 index 00000000..8a759a70 Binary files /dev/null and b/unitree_g1/assets/torso_link_rev_1_0.STL differ diff --git a/unitree_g1/assets/waist_roll_link_rev_1_0.STL b/unitree_g1/assets/waist_roll_link_rev_1_0.STL new file mode 100644 index 00000000..a64f330c Binary files /dev/null and b/unitree_g1/assets/waist_roll_link_rev_1_0.STL differ diff --git a/unitree_g1/assets/waist_yaw_link_rev_1_0.STL b/unitree_g1/assets/waist_yaw_link_rev_1_0.STL new file mode 100644 index 00000000..0fabb63d Binary files /dev/null and b/unitree_g1/assets/waist_yaw_link_rev_1_0.STL differ diff --git a/unitree_g1/g1.png b/unitree_g1/g1.png index 9d56a7a7..8c4dde8b 100644 Binary files a/unitree_g1/g1.png and b/unitree_g1/g1.png differ diff --git a/unitree_g1/g1.xml b/unitree_g1/g1.xml index 77537bd3..80fa3121 100644 --- a/unitree_g1/g1.xml +++ b/unitree_g1/g1.xml @@ -1,35 +1,28 @@ - - + + - - - + diff --git a/unitree_g1/g1_with_hands.png b/unitree_g1/g1_with_hands.png new file mode 100644 index 00000000..27bdf3ba Binary files /dev/null and b/unitree_g1/g1_with_hands.png differ diff --git a/unitree_g1/g1_with_hands.xml b/unitree_g1/g1_with_hands.xml new file mode 100644 index 00000000..e8a1ad38 --- /dev/null +++ b/unitree_g1/g1_with_hands.xml @@ -0,0 +1,515 @@ + + + + diff --git a/unitree_g1/scene.xml b/unitree_g1/scene.xml index de883fb1..549cc442 100644 --- a/unitree_g1/scene.xml +++ b/unitree_g1/scene.xml @@ -1,7 +1,7 @@ - + - + diff --git a/unitree_g1/scene_with_hands.xml b/unitree_g1/scene_with_hands.xml new file mode 100644 index 00000000..294f5d07 --- /dev/null +++ b/unitree_g1/scene_with_hands.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + +