Skip to content

Commit

Permalink
fix action application in do_simulation (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleflb authored Jan 29, 2025
1 parent 85eecd1 commit 9d21afc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ def do_simulation(
ctrl: NDArray[np.floating],
n_frames: int,
) -> None:
self.data.ctrl[self._actuation_mask] += ctrl
self.data.ctrl[self._actuation_mask] = ctrl
self._step_mujoco_simulation(self.data.ctrl, n_frames)

0 comments on commit 9d21afc

Please sign in to comment.