Skip to content

Commit

Permalink
Set some visual params as jax.Arrays for visual domain rando.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 692273879
Change-Id: I80475aa65744de06a6bfebbfb95a44faa751595f
  • Loading branch information
btaba authored and copybara-github committed Nov 1, 2024
1 parent b6037d1 commit 47ebb06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mjx/mujoco/mjx/_src/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,8 @@ class Model(PyTreeNode):
light_bodyid: np.ndarray = _restricted_to('mujoco')
light_targetbodyid: np.ndarray = _restricted_to('mujoco')
light_directional: np.ndarray
light_pos: np.ndarray = _restricted_to('mujoco')
light_dir: np.ndarray = _restricted_to('mujoco')
light_pos: jax.Array
light_dir: jax.Array
light_poscom0: np.ndarray = _restricted_to('mujoco')
light_pos0: np.ndarray
light_dir0: np.ndarray
Expand Down

0 comments on commit 47ebb06

Please sign in to comment.