Skip to content

Commit

Permalink
Update MuJoCo to 3.X
Browse files Browse the repository at this point in the history
  • Loading branch information
rainx0r committed Aug 10, 2024
1 parent 08489b4 commit 47291c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metaworld/envs/mujoco/sawyer_xyz/sawyer_xyz_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def reset_mocap_welds(self) -> None:
for i in range(self.model.eq_data.shape[0]):
if self.model.eq_type[i] == mujoco.mjtEq.mjEQ_WELD:
self.model.eq_data[i] = np.array(
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 3.75]
)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
]
dependencies = [
"gymnasium>=1.0.0a1",
"mujoco<3.0.0",
"mujoco>=3.0.0",
"numpy>=1.18",
"scipy>=1.4.1",
"imageio"
Expand Down

0 comments on commit 47291c2

Please sign in to comment.