Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions python/example_robot_data/robots_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,22 @@ class A1Loader(RobotLoader):
free_flyer = True


class G1Loader(RobotLoader):
path = "g1_description"
urdf_subpath = "urdf"
urdf_filename = "g1_29dof_rev_1_0.urdf"
ref_posture = "standing"
free_flyer = True


class G1WithHandsLoader(G1Loader):
path = "g1_description"
urdf_subpath = "urdf"
urdf_filename = "g1_29dof_with_hand_rev_1_0.urdf"
ref_posture = "standing"
free_flyer = True


class Z1Loader(RobotLoader):
path = "z1_description"
urdf_filename = "z1.urdf"
Expand Down Expand Up @@ -478,6 +494,8 @@ class xArm7Loader(RobotLoader):
"go1": Go1Loader,
"go2": Go2Loader,
"a1": A1Loader,
"g1": G1Loader,
"g1_with_hands": G1WithHandsLoader,
"z1": Z1Loader,
"b1_z1": B1Z1Loader,
"anymal": ANYmalLoader,
Expand Down
9 changes: 9 additions & 0 deletions robots/g1_description/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Unitree G1 Description

upstream: https://github.com/unitreerobotics/unitree_ros/tree/master/robots/g1_description
license: BSD 3-Clause License

Modifications:
- limited the loader registry to just the core `G1Loader`/`G1WithHandsLoader`, added `ref_posture="standing"` and re-enabled `free_flyer` so Pinocchio/Crocoddyl builds have sensible defaults.
- pruned the mesh directory down to only the files actually referenced by those two URDFs and removed the unused `inspire_hand` folder.
- dropped the `<mujoco>` blocks that only applied to MuJoCo so the URDFs stay focused on URDF/Pinocchio usage.
Binary file added robots/g1_description/meshes/head_link.STL
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added robots/g1_description/meshes/left_elbow_link.STL
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added robots/g1_description/meshes/left_knee_link.STL
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added robots/g1_description/meshes/logo_link.STL
Binary file not shown.
Binary file added robots/g1_description/meshes/pelvis.STL
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added robots/g1_description/meshes/right_elbow_link.STL
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added robots/g1_description/meshes/right_knee_link.STL
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading