Skip to content

Commit

Permalink
Allow Mujoco version >= 2.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
robfiras committed Apr 3, 2024
1 parent 95671c3 commit 199b84c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loco_mujoco/environments/data/humanoid/humanoid_muscle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<muscle scale="200" ctrlrange="0 1" ctrllimited="true" range="0.65 1.05"></muscle>
<motor ctrlrange="-1.0 1.0" ctrllimited="true"></motor>
</default>
<option integrator="Euler" iterations="50" solver="Newton" timestep="0.001" collision="dynamic">
<option integrator="Euler" iterations="50" solver="Newton" timestep="0.001">
<flag energy="enable"></flag>
</option>
<size njmax="1000" nconmax="400" nuser_jnt="1"></size>
Expand Down
1 change: 1 addition & 0 deletions loco_mujoco/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def download_perfect_datasets():
os.makedirs(dataset_path_humanoid_str, exist_ok=True)
humanoid_url = "https://zenodo.org/records/10912641/files/humanoid_datasets_perfect_v0.2.zip?download=1"
wget.download(humanoid_url, out=dataset_path_humanoid_str)
print("\n")
file_name = "humanoid_datasets_perfect_v0.2.zip"
file_path = str(dataset_path_humanoid / file_name)
with zipfile.ZipFile(file_path, "r") as zip_ref:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mushroom-rl>=1.10.0
numpy
scipy
mujoco==2.3.6
mujoco>=2.3.6
gymnasium
dm_control
pyyaml
Expand Down

0 comments on commit 199b84c

Please sign in to comment.