Commit Graph

1491 Commits

Author SHA1 Message Date
Xingdong Zuo
e3389e0839 Update dict.py (#1435) 2019-04-19 14:19:07 -07:00
Eric Liang
a2ed952f8f fix other types (#1445) 2019-04-19 14:09:44 -07:00
Yulun Li
3394e24572 Bugfix: wrapper should make spec optional for backward compatibility (#1424) 2019-04-08 19:29:13 -07:00
Mayank Mittal
8797474abd Small fix for calculation of forward reward term in Humanoid Environment (#1432)
* small fix to the calculation of forward reward term

* added y_velocity calculation back
2019-04-08 19:26:23 -07:00
Eric Liang
bfdf296358 fix attr-err (#1431) 2019-04-08 19:17:33 -07:00
Christopher Hesse
c1285d5255 fix car racing pixel scale dtype (#1428) 2019-04-05 16:21:11 -07:00
Andrew Melnik
7006c7a182 gym/envs/robotics - HandManipulate{Block, Egg, Pen}TouchSensors-v1 (#1421)
* envs/__init__.py: register all HandManipulate...TouchSensors envs

* manipulate_touch_sensors.py > touch_get_obs='sensordata'

* HandManipulate...TouchSensors-v0 - boolean sensor readings; HandManipulate...TouchSensors-v1 - original MuJoCo sensordata readings;

Co-authored-by: Timo Korthals <korthals.timo@gmail.com>
2019-04-02 18:00:20 -07:00
Justin Mui
b1d645caa9 Update README.rst (#1413)
"an simple" to "a simple"
2019-03-29 15:06:36 -07:00
Peter Zhokhov
bd88351424 slight wording change in README.rst 2019-03-25 12:29:06 -07:00
Peter Zhokhov
dbab98c367 rgb_rendering_tracking default value set to True 2019-03-25 12:25:06 -07:00
pzhokhov
663515c8d2 add optional tracking for mujoco locomotion in the rgb rendering mode (issue 1135) (#1405)
* switch rgb_array camera to 0

* merge latest master

* add tracking camera for swimmer

* test track camera name to be in valid names

* add rgb_rendering_tracking kwarg to locomotion mujoco envs; fixes 1135

* fix track camera logic in mujoco_env.py
2019-03-25 12:17:38 -07:00
Xingdong Zuo
5744b25a6c [Update core.py]: support Wrapper for registering global methods with nested wrapping (#1347)
* Update core.py

* Update core.py
2019-03-25 12:11:53 -07:00
Xingdong Zuo
97a416fa14 [Update core.py] Remove unnecessary parts (#1406)
* Update core.py

* Update core.py
2019-03-25 10:23:14 -07:00
Peter Zhokhov
b2fe239cee fix gym.Space -> Space in dict.py 2019-03-25 10:20:49 -07:00
Peter Zhokhov
78c2c55a78 Merge branch 'zuoxingdong-patch-14' 2019-03-25 10:11:13 -07:00
Peter Zhokhov
d83e039892 Merge branch 'patch-14' of https://github.com/zuoxingdong/gym into zuoxingdong-patch-14 2019-03-25 10:08:41 -07:00
Xingdong Zuo
3100f4da61 Update dict.py 2019-03-25 02:06:55 +01:00
Xingdong Zuo
8d3c4ad6cc Update dict.py 2019-03-25 01:05:15 +01:00
Peter Zhokhov
0b2c0d336b allow Dict space to be initialized from a list 2019-03-24 17:02:27 -07:00
Xingdong Zuo
f408e2284c Rename tuple_space.py to tuple.py 2019-03-25 00:56:57 +01:00
Xingdong Zuo
0adfe87064 Update tuple_space.py 2019-03-25 00:47:16 +01:00
Xingdong Zuo
13298ae1e1 Update space.py 2019-03-25 00:46:14 +01:00
Xingdong Zuo
0bfb3c64f5 Update multi_discrete.py 2019-03-25 00:45:00 +01:00
Xingdong Zuo
9e1080e336 Update multi_binary.py 2019-03-25 00:43:45 +01:00
Xingdong Zuo
f9aaa3c986 Update discrete.py 2019-03-25 00:42:53 +01:00
Xingdong Zuo
f5d571a16d Update and rename dict_space.py to dict.py 2019-03-25 00:41:18 +01:00
Xingdong Zuo
cee92691ad Update box.py 2019-03-25 00:39:32 +01:00
Xingdong Zuo
827ed2f791 Update __init__.py 2019-03-25 00:28:23 +01:00
Xingdong Zuo
5efcd86b36 [Update space]: support flat_dim, flatten, unflatten (fixes #1310) (#1319)
* Update space.py

* Update box.py

* Update discrete.py

* Update tuple_space.py

* Update box.py

* Update box.py

* Update discrete.py

* Update space.py

* Update box.py

* Update discrete.py

* Update tuple_space.py

* Update multi_binary.py

* Update multi_discrete.py

* Update and rename dict_space.py to dict.py

* Update tuple_space.py

* Rename tuple_space.py to tuple.py

* Update __init__.py

* Update multi_binary.py

* Update multi_discrete.py

* Update space.py

* Update box.py

* Update discrete.py

* Update multi_binary.py

* Update multi_discrete.py

* Update __init__.py

* Update __init__.py

* Update multi_discrete.py

* Update __init__.py

* Update box.py

* Update box.py

* Update multi_discrete.py

* Update discrete.py

* Update multi_discrete.py

* Update discrete.py

* Update dict.py

* Update dict.py

* Update multi_binary.py

* Update multi_discrete.py

* Update tuple.py

* Update discrete.py

* Update __init__.py

* Update box.py

* Update and rename dict.py to dict_space.py

* Update dict_space.py

* Update dict_space.py

* Update dict_space.py

* Update discrete.py

* Update multi_binary.py

* Create utils.py

* Update __init__.py

* Update multi_discrete.py

* Update multi_discrete.py

* Update space.py

* Update and rename tuple.py to tuple_space.py
2019-03-24 11:29:43 -07:00
pzhokhov
07645bd11e spaces equality fixes and tests (#1375)
* spaces equality fixes and tests

* squash-merged master

* added better equality tests and more checks against bad space creation
2019-03-23 23:18:19 -07:00
Xingdong Zuo
b219d36441 [Update setup.py] Support latest mujoco_py 2.0 (#1401)
* Update setup.py

* Update test.dockerfile.18.04

* Update test.dockerfile.16.04
2019-03-23 17:15:33 -07:00
Christopher Hesse
5eacc50bf4 have multi-discrete use same dtype as discrete, fixes #1204 (#1400) 2019-03-23 14:49:46 -07:00
iory
c6a3dedc4b [envs/registration.py] Fixed import module (#1398)
* [envs/registration.py] Fixed warnings import

* [envs/registration.py] Fixed ModuleNotFounderror

* [envs/registration.py] Modified ModuleNotFoundError to ImportError for python2.7
2019-03-23 14:27:58 -07:00
InstanceLabs
11181ac0bf Improve BFS implementation in frozen_lake env (#1391) 2019-03-22 15:09:53 -07:00
Christopher Hesse
13e6ec8640 move env docs around (#1399)
* move env docs around

* rst

* de-rst

* headers
2019-03-22 15:03:21 -07:00
Peter Zhokhov
946d233eea fix version of mujoco-py to <2 2019-03-22 14:58:50 -07:00
martinResearch
f37830bbe2 getting play working with montain_car game (#1393)
* Update play.py

getting the play function working with game where the observation space is not a Box.

* Update mountain_car.py

adding get_keys_to_action method to the montain_car environement

* Update play.py

clean for pull request

* Update play.py

cleaning

* Update play.py

cleaning
2019-03-22 14:51:00 -07:00
Christopher Hesse
aa3e029926 better errors for play.py, fixes #1350 (#1376) 2019-03-22 14:27:57 -07:00
Maxime Chevalier-Boisvert
c52df4e6a9 Add gym-miniworld to environments.md (#1395) 2019-03-21 10:32:39 -07:00
pzhokhov
93c5ca0d3d fixes #1066 (#1379) 2019-03-18 13:02:22 -07:00
InstanceLabs
0a3665b050 PEP-8 fixes in atari env (#1383)
Remove trailing whitespaces.
Make line breaks adhere to 80 character limit (not all, but quite a few).
Other miscellaneous PEP-8 fixes.
2019-03-16 13:15:04 -07:00
InstanceLabs
e74ca9bb4c NotImplemented -> NotImplementedError (#1384) 2019-03-16 13:07:20 -07:00
InstanceLabs
0c9cfafc22 Change docstring for generate_random_map in frozen_lake env (#1390) 2019-03-16 13:01:49 -07:00
InstanceLabs
f38f39b06f PEP-8 Fixes in algorithmic environment (#1382)
Remove trailing whitespaces.
Make line breaks adhere to 80 character limit (not all, but quite a few).
Remove unused imports.
Other miscellaneous PEP-8 fixes.
2019-03-16 13:01:10 -07:00
Rafael C.P
849da90011 Adds a reward threshold to Acrobot V1 (#464)
After talking to John by e-mail, I thought I could give a little hand by making this small change myself. I put the same threshold as the old v0 (-100).
2019-03-11 18:22:45 -07:00
pzhokhov
825404cbad add docs back to multi_discrete.py (#1373) 2019-03-11 10:58:48 -07:00
Christopher Hesse
2e8141b00d change car racing render to fix #976 (#1343)
* change car racing render to fix #976

* add retina screen detection
2019-03-08 15:06:12 -08:00
Christopher Hesse
c34716645a import modules when specified to gym.make (#1344)
* import modules when specified to gym.make

* update docs
2019-03-08 14:50:32 -08:00
Peter Zhokhov
9309498b4d Merge branch 'master' of github.com:openai/gym 2019-03-07 19:58:35 -08:00
Peter Zhokhov
f660a3f1f9 fix typos in README 2019-03-07 19:57:44 -08:00