Skip to content

Commit b183b2b

Browse files
committed
pre-PR lint
1 parent b86e20b commit b183b2b

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

mujoco_playground/_src/locomotion/t1/randomize.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from mujoco import mjx
1919
import numpy as np
2020

21-
2221
FLOOR_GEOM_ID = 0
2322
TORSO_BODY_ID = 1
2423
ANKLE_JOINT_IDS = np.array([[21, 22, 27, 28]])
@@ -30,7 +29,7 @@ def rand_dynamics(rng):
3029
# Floor friction: =U(0.4, 1.0).
3130
rng, key = jax.random.split(rng)
3231
geom_friction = model.geom_friction.at[FLOOR_GEOM_ID, 0].set(
33-
jax.random.uniform(key, minval=0.2, maxval=.6)
32+
jax.random.uniform(key, minval=0.2, maxval=0.6)
3433
)
3534

3635
rng, key = jax.random.split(rng)

mujoco_playground/_src/registry.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131

3232
# A tuple containing all available environment names across all suites.
3333
ALL_ENVS = (
34-
dm_control_suite.ALL_ENVS
35-
+ locomotion.ALL_ENVS
36-
+ manipulation.ALL_ENVS
34+
dm_control_suite.ALL_ENVS + locomotion.ALL_ENVS + manipulation.ALL_ENVS
3735
)
3836

3937

mujoco_playground/config/locomotion_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def brax_ppo_config(env_name: str) -> config_dict.ConfigDict:
8888
policy_obs_key="state",
8989
value_obs_key="privileged_state",
9090
)
91-
92-
elif env_name in ("Go2JoystickFlatTerrain","Go2JoystickRoughTerrain"):
91+
92+
elif env_name in ("Go2JoystickFlatTerrain", "Go2JoystickRoughTerrain"):
9393
rl_config.num_timesteps = 200_000_000
9494
rl_config.num_evals = 10
9595
rl_config.num_resets_per_eval = 1

0 commit comments

Comments
 (0)