Skip to content

Commit d866a1a

Browse files
committed
Enable angular velocity and momentum penalties for Go1
1 parent b21360a commit d866a1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mjlab/tasks/velocity/config/go1/env_cfgs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ def unitree_go1_rough_env_cfg(
203203
for reward_name in ["foot_clearance", "foot_slip"]:
204204
cfg.rewards[reward_name].params["asset_cfg"].site_names = site_names
205205

206-
cfg.rewards["body_ang_vel"].weight = 0.0
207-
cfg.rewards["angular_momentum"].weight = 0.0
206+
cfg.rewards["body_ang_vel"].weight = -1e-4
207+
cfg.rewards["angular_momentum"].weight = -1e-4
208208
cfg.rewards["air_time"].weight = 0.0
209209
cfg.rewards["joint_vel_l2"] = RewardTermCfg(func=mdp.joint_vel_l2, weight=-1e-5)
210210
cfg.rewards["joint_acc_l2"] = RewardTermCfg(func=mdp.joint_acc_l2, weight=-1e-7)

0 commit comments

Comments
 (0)