Skip to content

Commit e7c1677

Browse files
btabacopybara-github
authored andcommitted
Fix #123.
PiperOrigin-RevId: 758546904 Change-Id: I93d0559c245de1b8504c3c33604969cd8de77b16
1 parent 90ac50f commit e7c1677

File tree

1 file changed

+1
-1
lines changed
  • mujoco_playground/_src/dm_control_suite

1 file changed

+1
-1
lines changed

mujoco_playground/_src/dm_control_suite/walker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def step(self, state: mjx_env.State, action: jax.Array) -> mjx_env.State:
119119

120120
def _get_obs(self, data: mjx.Data, info: dict[str, Any]) -> jax.Array:
121121
del info # Unused.
122-
orientations = data.xmat[1:, [[0, 0], [0, 2]]].ravel()
122+
orientations = data.xmat[1:, [0, 0], [0, 2]].ravel()
123123
height = data.xmat[self._torso_id, 2, 2]
124124
velocity = data.qvel
125125
return jp.concatenate([

0 commit comments

Comments
 (0)