Skip to content

Commit

Permalink
rgb_rendering_tracking default value set to True
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhokhov committed Mar 25, 2019
1 parent 663515c commit dbab98c
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ We are using `pytest <http://doc.pytest.org>`_ for tests. You can run them via:

What's new
==========
- 2019-03-25 (v0.12.1)
+ rgb rendering in mujoco locomotion environments comes from tracking camera (so that agent does not run away from the field of view). The old behaviour can be restored by passing rgb_rendering_tracking=False kwarg.

- 2019-02-26 (v0.12.0)
+ release mujoco environments v3 with support for gym.make kwargs such as `xml_file`, `ctrl_cost_weight`, `reset_noise_scale` etc
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/ant_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self,
contact_force_range=(-1.0, 1.0),
reset_noise_scale=0.1,
exclude_current_positions_from_observation=True,
rgb_rendering_tracking=False):
rgb_rendering_tracking=True):
utils.EzPickle.__init__(**locals())

self._ctrl_cost_weight = ctrl_cost_weight
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/half_cheetah_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self,
ctrl_cost_weight=0.1,
reset_noise_scale=0.1,
exclude_current_positions_from_observation=True,
rgb_rendering_tracking=False):
rgb_rendering_tracking=True):
utils.EzPickle.__init__(**locals())

self._forward_reward_weight = forward_reward_weight
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/hopper_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self,
healthy_angle_range=(-0.2, 0.2),
reset_noise_scale=5e-3,
exclude_current_positions_from_observation=True,
rgb_rendering_tracking=False):
rgb_rendering_tracking=True):
utils.EzPickle.__init__(**locals())

self._forward_reward_weight = forward_reward_weight
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/humanoid_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self,
healthy_z_range=(1.0, 2.0),
reset_noise_scale=1e-2,
exclude_current_positions_from_observation=True,
rgb_rendering_tracking=False):
rgb_rendering_tracking=True):
utils.EzPickle.__init__(**locals())

self._forward_reward_weight = forward_reward_weight
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/mujoco_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MujocoEnv(gym.Env):
"""Superclass for all MuJoCo environments.
"""

def __init__(self, model_path, frame_skip, rgb_rendering_tracking=False):
def __init__(self, model_path, frame_skip, rgb_rendering_tracking=True):
if model_path.startswith("/"):
fullpath = model_path
else:
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/swimmer_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self,
ctrl_cost_weight=1e-4,
reset_noise_scale=0.1,
exclude_current_positions_from_observation=True,
rgb_rendering_tracking=False):
rgb_rendering_tracking=True):
utils.EzPickle.__init__(**locals())

self._forward_reward_weight = forward_reward_weight
Expand Down
2 changes: 1 addition & 1 deletion gym/envs/mujoco/walker2d_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self,
healthy_angle_range=(-1.0, 1.0),
reset_noise_scale=5e-3,
exclude_current_positions_from_observation=True,
rgb_rendering_tracking=False):
rgb_rendering_tracking=True):
utils.EzPickle.__init__(**locals())

self._forward_reward_weight = forward_reward_weight
Expand Down
2 changes: 1 addition & 1 deletion gym/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '0.12.0'
VERSION = '0.12.1'

0 comments on commit dbab98c

Please sign in to comment.