Skip to content

Commit

Permalink
fix pd init
Browse files Browse the repository at this point in the history
  • Loading branch information
WT-MM committed Feb 6, 2025
1 parent a5a5a44 commit 72ab08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/envs/base/legged_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ def _create_envs(self):
self.motor_zero_offsets = torch.zeros(
self.num_envs, self.num_actions, dtype=torch.float, device=self.device, requires_grad=False
)
self.d_gains_multiplier = torch.ones(
self.p_gains_multiplier = torch.ones(
self.num_envs, self.num_actions, dtype=torch.float, device=self.device, requires_grad=False
)
self.d_gains_multiplier = torch.ones(
Expand Down

0 comments on commit 72ab08f

Please sign in to comment.