Skip to content

Commit

Permalink
Fixes attribute error in JointVelocityAction
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayankm96 committed Oct 25, 2023
1 parent f733830 commit d46c810
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __init__(self, cfg: actions_cfg.JointVelocityActionCfg, env: BaseEnv):
# initialize the action term
super().__init__(cfg, env)
# use default joint velocity as offset
if cfg.offset_with_default:
if cfg.use_default_offset:
self._offset = self._asset.data.default_joint_vel[:, self._joint_ids].clone()

def apply_actions(self):
Expand Down

0 comments on commit d46c810

Please sign in to comment.