Skip to content

Commit

Permalink
fix: del applied_torque_limits configs
Browse files Browse the repository at this point in the history
  • Loading branch information
fan-ziqi committed Oct 19, 2024
1 parent 393c759 commit 744c3bc
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def __post_init__(self):
self.rewards.joint_vel_limits.weight = 0

# Action penalties
self.rewards.applied_torque_limits.weight = 0
self.rewards.applied_torque_limits.params["asset_cfg"].body_names = ["base"]
self.rewards.action_rate_l2.weight = -0.01
# UNUESD self.rewards.action_l2.weight = 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def __post_init__(self):
self.rewards.joint_vel_limits.weight = 0

# Action penalties
self.rewards.applied_torque_limits.weight = 0
self.rewards.action_rate_l2.weight = -0.005
# UNUESD self.rewards.action_l2.weight = 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def __post_init__(self):
self.rewards.joint_vel_limits.weight = 0

# Action penalties
self.rewards.applied_torque_limits.weight = 0
self.rewards.applied_torque_limits.params["asset_cfg"].body_names = ["trunk"]
self.rewards.action_rate_l2.weight = -0.01
# UNUESD self.rewards.action_l2.weight = 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def __post_init__(self):
self.rewards.joint_vel_limits.weight = 0

# Action penalties
self.rewards.applied_torque_limits.weight = 0
self.rewards.action_rate_l2.weight = 0
# UNUESD self.rewards.action_l2.weight = 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def __post_init__(self):
self.rewards.joint_vel_limits.weight = 0

# Action penalties
self.rewards.applied_torque_limits.weight = 0
self.rewards.applied_torque_limits.params["asset_cfg"].body_names = ["base"]
self.rewards.action_rate_l2.weight = -0.01
# UNUESD self.rewards.action_l2.weight = 0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def __post_init__(self):
self.rewards.joint_vel_limits.weight = 0

# Action penalties
self.rewards.applied_torque_limits.weight = 0
self.rewards.action_rate_l2.weight = -0.005
# UNUESD self.rewards.action_l2.weight = 0.0

Expand Down

0 comments on commit 744c3bc

Please sign in to comment.