Commit d46c8107 authored by Mayank Mittal's avatar Mayank Mittal

Fixes attribute error in JointVelocityAction

parent f733830f
...@@ -147,7 +147,7 @@ class JointVelocityAction(JointAction): ...@@ -147,7 +147,7 @@ class JointVelocityAction(JointAction):
# initialize the action term # initialize the action term
super().__init__(cfg, env) super().__init__(cfg, env)
# use default joint velocity as offset # 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() self._offset = self._asset.data.default_joint_vel[:, self._joint_ids].clone()
def apply_actions(self): def apply_actions(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment