Skip to content

Commit cca35cf

Browse files
authored
Update MuJoCo to 3.X (#493)
1 parent 08489b4 commit cca35cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

metaworld/envs/mujoco/sawyer_xyz/sawyer_xyz_env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def reset_mocap_welds(self) -> None:
131131
for i in range(self.model.eq_data.shape[0]):
132132
if self.model.eq_type[i] == mujoco.mjtEq.mjEQ_WELD:
133133
self.model.eq_data[i] = np.array(
134-
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
134+
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 5.0]
135135
)
136136

137137

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
]
2626
dependencies = [
2727
"gymnasium>=1.0.0a1",
28-
"mujoco<3.0.0",
28+
"mujoco>=3.0.0",
2929
"numpy>=1.18",
3030
"scipy>=1.4.1",
3131
"imageio"

0 commit comments

Comments
 (0)