The current docstring for `reset()` seems to indicate that the
environment will be identical after separate calls to `reset()`.
However, the `reset()` function isn't supposed to reset the states of
the environment's RNGs [1]. This change clarifies the relationship
between the `reset()` function and the RNGs.
[1]: https://github.com/openai/gym/issues/250
* add type of argument
* fix typos
* split lines for formatting
* reformat string, add ellipsis, remove r string
* make docstring stylistically consistent
* make docstrings a little more elaboratet
* reduce by 1 space
* make line wrap 120
* remove unnecessary line
* add returns to docstring
* add docstring, make code more pep8 and delete some unused print functions
* more pep8
* file docstring instead of comments
* delete unused variables, add file docstring and add some pep8 spring cleaning
* add file docstring, fix typos and add some pep8 correections
Co-authored-by: Dan <daniel.timbrell@ing.com>
* Implement PixelObservationWrapper
* Change MujocoEnv.render to support custom camera_{name,id}
* Implement tests for PixelObservationWrapper
* Use env.get_pixels instead of direct env.render
* Fix camera_{id,name} check in pixel observation wrapper
* Fix rendering with explicit camera_id
* Add Wrapperget_pixels to allow call to be propagated to wrapped env
* Remove use of unnecessary `get_pixels` method
* Update PixelObservationWrapper to support multiple pixel keys
* Remove unnecessary `rgb_rendering_tracking` argument
* Remove rgb_rendering_tracking logic
Binding `__contains__` to the Space class' contains method this way prevents overriding it in subclasses, which leads to `NotImplementedException`s when trying to do things like `2 in gym.spaces.Discrete(2)`.
`contains` really should not exist when it does exactly what the builtin
magic method `__contains__` was meant for, but that would break backward
compatibility.
* Improve default import time from 750ms -> 73ms on 2016 Macbook pro
* Support code which expects gym.spaces.foo to work without a direct import of gym.spaces
* Spaces have a compatible method which determines if 2 Spaces are of the same shape, ignoring bounds.
* Added a command interface for Env/Wrappers
* Made command interface more aligned with gym codebase. Added CommandWrapper helper class.
* Refactored method names from command to event/broadcast
* Spaces have a compatible method which determines if 2 Spaces are of the same shape, ignoring bounds.
* Comparing compatibility of a Space with None will result in False now
* add dtype to Box
* remove board_game, debugging, safety, parameter_tuning environments
* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder
* Improve render("human"), now resizable, closable window.
* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods
* CubeCrash unit test environment
* followup fixes
* MemorizeDigits unit test envrionment
* refactored spaces a bit
fixed indentation
disabled test_env_semantics
* fix unit tests
* fixes
* CubeCrash, MemorizeDigits tested
* gym backwards compatibility patch
* gym backwards compatibility, followup fixes
* changelist, add spaces to main namespaces
* undo_logger_setup for backwards compat
* remove configuration.py
* Make sure env.spec always exists and is valid. Previously there was an error when you tried to get the string representation of an unregistered env.
* update changelist