Instructions to use mizuchi-lab/unitree-g1-mujoco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use mizuchi-lab/unitree-g1-mujoco with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Commit History
-
feat: configurable yaw jitter of world objects (WORLD_RANDOMIZE_YAW)
d0e4913 -
fix: clamp jittered world objects to the support in the world frame
The support box was read in its body's frame, so a table placed away from the origin (the table_room worlds) clamped the jittered can to the robot's feet.2db7c5d -
feat: let a world override the scene's visual settings and skybox
A world <visual> overrides the scene's per element and attribute, and a world skybox replaces the scene's (MuJoCo draws only the first). A world object's free joint is never taken for a robot joint, whatever its name (chips_can contains "hip").4e3ec12
-
feat: add the hand collision bit and attach welds when merging a world
A world is now robot-agnostic MuJoCo content. compose.py ORs the end effectors' collision bit into the conaffinity of every colliding world geom, adds the {side}_grasp_{body} welds for each free-joint body when WORLD_GRASP=attach, and rejects worlds that reuse a robot name or reference names they do not define. The attach grasp in base_sim handles several objects, picking the one nearest the TCP inside the grasp zone. pick_cylinder no longer names robot bodies or collision bits.d013b50 -
refactor: resolve worlds by name, path or repo with a world.yaml
Worlds are moving to their own repo. sim/worlds.py resolves a WORLD spec (folder, world.xml, name via UNITREE_G1_MUJOCO_WORLDS_ROOT or WORLDS_REPO, owner/repo[@rev]:name) and validates the optional world.yaml. Cameras are discovered from the world file, the jitter support geom and the default jitter come from world.yaml, and compose.py takes the resolved world.xml path and makes its relative file paths absolute.d14801e
-
feat: attach-on-close kinematic grasp for the pick_cylinder world (WORLD_GRASP)
A weld per hand is composed in for WORLD_GRASP=attach (default) and activated at the current relative pose when the AmazingHand's fingers 1-3 close past 0.6 with the object in the grasp zone; it releases at 0.4.43d0244 -
wip: open AmazingHands at world reset, grasp test tweaks and header numbers
7f358ba -
feat: AmazingHand collision geoms so the fingers can grasp
Fit a capsule per phalanx and a box for the palm plate to the visual meshes (group 3, contype 2, conaffinity 0: they touch only world objects whose geoms carry conaffinity bit 2), limit the finger actuators to the SCS0009 stall torque and lower the passive linkage friction so that torque can move them. pick_cylinder becomes a narrow, tall cylinder on a 0.75 m table, graspable by the right hand (tests/test_worlds.py closes it and lifts it), and WORLD_RANDOMIZE keeps the cylinder 5 cm inside the table edge.5e6b21b -
feat: pick_cylinder world (table + free cylinder) selectable with WORLD
WORLD merges assets/worlds/<name>.xml into the composed scene; pick_cylinder adds a table, a free-jointed cylinder and a fixed table_view camera that is published next to the end effector's cameras. The cylinder is put back at its spawn pose on every reset, jittered by WORLD_RANDOMIZE (xy metres, +-15 deg yaw).601e2cb
-
Forward viewer key events to LeRobot's keyboard teleoperator (Wayland has no pynput capture)
Verified signature3c5b27d
-
Add the 23dof + D455 pan/tilt head + AmazingHand variant (default) with the sim head/hand ZMQ bridge
Verified signature2abbee4 -
Import lerobot/unitree-g1-mujoco@68459ed6 + 23dof (rev_1_0) body variant, defaults BODY=23dof END_EFFECTOR=dummy
Verified signature257dded