Skip to content

Commit

Permalink
Update pusher_v5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Dec 9, 2023
1 parent 43e8b07 commit b1f7fb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gymnasium/envs/mujoco/pusher_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class PusherEnv(MujocoEnv, utils.EzPickle):
- Added `default_camera_config` argument, a dictionary for setting the `mj_camera` properties, mainly useful for custom environments.
- Added `frame_skip` argument, used to configure the `dt` (duration of `step()`), default varies by environment check environment documentation pages.
- Added `xml_file` argument.
- Fixed bug: `reward_distance` & `reward_near` was based on the state before the physics step, now it is based on the state after the physics step (related [Github issue](https://github.com/Farama-Foundation/Gymnasium/issues/821)).
- Added `reward_near_weight`, `reward_dist_weight`, `reward_control_weight` arguments, to configure the reward function (defaults are effectively the same as in `v4`).
- Fixed `info["reward_ctrl"]` being not being multiplied by the reward weight.
- Added `info["reward_near"]` which is equal to the reward term `reward_near`.
Expand Down

0 comments on commit b1f7fb4

Please sign in to comment.