Downloads · 30 days
0
m3/go2z1-standup-rl-v1
go2z1-standup-rl-v1 is a reinforcement learning model from m3. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for rsl-rl. The card lists the license as apache-2.0.
PPO policy that lets the Unitree Go2 + Z1 composite robot recover from arbitrary fallen poses by using its legs and Z1 arm together as a self-righting kinematic chain, then automatically folds the Z1 back to the carry…
Downloads · 30 days
0
Access
Public
Updated May 18, 2026
Repo size
4.8 MB
Likes
0
Public
Click a slice to open those files.
.pt4.8 MB · 100%
From the Hugging Face model README
PPO policy that lets the Unitree Go2 + Z1 composite robot recover from arbitrary fallen poses by using its legs and Z1 arm together as a self-righting kinematic chain, then automatically folds the Z1 back to the carry pose once the trunk is upright.
trunk_z = 0.18 m with random orientation (full quaternion sampled by reset_root_state_with_random_orientation)Z1_FOLDED_DEFAULT pose, sparse +10 success bonus when all three are satisfiedtrunk_z < 0.05 m (collapsed) or time-outstandup_success sparse bonus reaches 8.6 / episode (≈86 % of timesteps satisfy the success criterion)trunk_collapsed termination rate ≈ 0 — robot does not give upSame rsl-rl actor-critic shape as our walking policies (3-layer MLP 512-256-128 ELU). Action dim = 18.
trunk_height_reward weight +5.0 # clamp(z / 0.32, 0, 1)
upright_alignment weight +3.0 # clamp(-projected_gravity_b[2], 0, 1)
z1_fold weight +2.0 # exp(-||z1_pos - Z1_FOLDED_DEFAULT||)
standup_success (sparse) weight +10.0 # 1 if z>0.28 ∧ upright>0.92 ∧ fold_err<0.3
action_rate_l2 weight -0.005
joint_acc_l2 weight -2.5e-7
joint_torques_l2 weight -1e-5
standup_v1.pt — rsl-rl OnPolicyRunner checkpointimport torch, torch.nn as nn
state = torch.load("standup_v1.pt", map_location="cuda:0", weights_only=False)
sd = state["actor_state_dict"]
h, obs_dim = sd["mlp.0.weight"].shape[0], sd["mlp.0.weight"].shape[1]
act_dim = sd["mlp.6.weight"].shape[0] # 18 for full-body recovery
actor = nn.Sequential(
nn.Linear(obs_dim, h), nn.ELU(),
nn.Linear(h, h), nn.ELU(),
nn.Linear(h, h), nn.ELU(),
nn.Linear(h, act_dim),
).cuda().eval()
actor.load_state_dict({k.replace("mlp.", ""): v for k, v in sd.items() if k.startswith("mlp.")})
For a full integration example (drop fallen robot into warehouse, run standup, verify Z1 auto-folds), see stage4_joint_eval/standup_recovery.py.
On-policy RL — no offline dataset. The Isaac Lab task is registered as Isaac-Standup-Go2Z1-v0 and lives at:
go2_z1_warehouse/stage5_standup/standup_env_cfg.pygo2_z1_warehouse/stage5_standup/train_launcher.py@misc{go2z1-standup-v1,
title = {Go2+Z1 Standup Recovery Policy (RL, full 18-DOF)},
author = {m3},
year = {2026},
url = {https://huggingface.co/m3/go2z1-standup-rl-v1}
}