302 Commits

Author SHA1 Message Date
Matin Moezzi
ad23dfbbe2 [Bugfix] fixed step() function in AsyncVectorEnv from hanging forever (#1419) 2025-07-22 22:45:23 +01:00
Simone Parisi
18da906de7 Wrapper to discretize observations and actions (#1411)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2025-07-03 20:05:55 +01:00
Martin Schuck
461f478db9 Fix all warnings in tests/spaces (#1396) 2025-06-07 23:55:12 +01:00
Mark Towers
433d7af1f9 Add python 3.13 and update pre-commit (#1390) 2025-06-07 17:57:58 +01:00
James Mochizuki-Freeman
428493e584 Re-enable reportGeneralTypeIssues typing rule (#1391) 2025-06-07 15:31:31 +01:00
Kallinteris Andreas
f20e3f4845 migrating the MuJoCo environments v2 and v3 to Gymnasium-Robotics (mujoco-py based) (#1392) 2025-06-07 15:26:04 +01:00
Martin Schuck
de2c10ef1a Fix roundtrip test for ArrayConversion (#1397) 2025-06-07 12:17:06 +01:00
Martin Schuck
f5ea97f863 Fix conversion wrapper module registration and docs (#1380) 2025-05-12 19:23:44 +01:00
Martin Schuck
5dde9a79be Add generic conversion wrapper between Array API compatible frameworks (#1333) 2025-05-11 23:10:06 +01:00
Adam Parker
69471be601 Add stochastic taxi (rainy+fickle) (#1315)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2025-03-25 16:46:06 +00:00
Simone Parisi
ba0fa45af7 Add rendering wrapper with noise (#1243) 2025-03-19 13:19:19 +00:00
Martin Schuck
ff66b0886d Fix MuJoCo add_markers for mujoco>=3.2 (#1329) 2025-03-18 18:17:25 +00:00
Mark Towers
1c7c709f6b Remove Mujoco assert on metadata render-mode (#1328) 2025-03-06 15:53:07 +02:00
Mark Towers
e4c1f901e9 Add probability masking to space.sample (#1310)
Co-authored-by: Mario Jerez <jerezmario1@gmail.com>
2025-02-21 13:39:23 +00:00
Jiahao Li
1dffcc6ed4 Allow AtariPreprocessing non-square observations (#1312) 2025-02-20 11:46:05 +00:00
Martin Schuck
2a8441d439 Add None to None conversion for JaxToNumpy, JaxToTorch and NumpyToTorch (#1306) 2025-02-13 22:14:37 +00:00
Martin Schuck
fd40fcb0d3 Add full support for dlpack API (#1299) 2025-01-30 19:28:07 +00:00
Alexis DUBURCQ
08a28d38da Fix get_wrapper_attr / set_wrapper_attr. (#1293)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2025-01-17 22:46:45 +00:00
Howard Huang
75bd3bea87 Add wrappers.vector.TransformObs/Action single obs/action space argument (#1288)
Co-authored-by: Howard <174055+howardh@users.noreply.github.com>
2025-01-12 12:43:55 +00:00
Mark Towers
c6c581538f Revert OrderedDict key ordering in Dict space (#1291) 2025-01-08 22:05:57 +00:00
Mark Towers
e6e3521cfe Add TimeAwareObservation support for environments without a spec (#1289) 2025-01-08 15:30:34 +00:00
Mark Towers
8a46c3ab39 Add support for different vector autoreset modes (#1227) 2024-11-28 12:18:55 +00:00
Sebastian Griesbach
d2dc19f771 Fix discrete CarRacing-v3 (#1253)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2024-11-18 11:56:22 +00:00
Simone Parisi
ebe70a1aeb StickyAction wrapper can repeat the old action for more than 1 step (#1240)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2024-11-14 10:23:06 +00:00
David Leins
988999c7e6 Add mujoco rgbd rendering (#1229) 2024-10-28 13:22:46 +00:00
Silvio Traversaro
af367bb746 Use multiprocessing.get_all_start_methods() in test_async_with_dynamically_registered_env (#1222)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2024-10-20 16:41:51 +01:00
JDRanpariya
175202f9b3 Allow frame stack size of 1 in FrameStack wrapper (#1192) 2024-10-06 11:39:52 +01:00
Kallinteris Andreas
aba22362ce mujoco fix camera_id argument not being used for rendering (#1177) 2024-09-30 23:43:21 +03:00
Mark Towers
a6976e42d4 Fix VectorizeActionTransform for changing spaces (#1170) 2024-09-20 13:44:07 +01:00
Mark Towers
b40a899251 Revert #941 (#1165) 2024-09-19 12:18:43 +01:00
Mark Towers
64fac8e80b Add (A)syncVectorEnv support for sub-envs with different observation spaces (#1140)
Co-authored-by: Reggie <72816837+reginald-mclean@users.noreply.github.com>
Co-authored-by: Reggie McLean <reginald.mclean@ryerson.ca>
2024-08-29 16:52:43 +01:00
Übertreiber
ad8734d89b Fix outdated docs for TimeLimit max_episode_steps and add validation. (#1149)
Co-authored-by: troiganto <troiganto@proton.me>
2024-08-26 17:52:50 +01:00
Mark Towers
94384bbe93 Re-add functional api to experimental (#1145) 2024-08-15 14:49:05 +01:00
Ariel Kwiatkowski
c9e2957435 Change end-of-episode in CarRacing to termination as opposed to truncation (#813) 2024-08-09 10:30:38 +01:00
Ariel Kwiatkowski
a576025834 Fix the off-by-one error in FunctionalJaxVectorEnv (#1130) 2024-08-01 11:12:35 +01:00
Mike Song
b6046caeb3 Fixed bug in test_shared_memory.py (#1128) 2024-07-31 13:11:01 +01:00
Mike Song
ccbdac69e9 Update test_rendering.py (#1129) 2024-07-31 13:09:08 +01:00
Mark Towers
1878f6dd7d Fix CartPole for equivalence to vector implementation (#1121) 2024-07-16 15:56:42 +01:00
Mark Towers
992638e120 Add stacktrace reporting to AsyncVectorEnv (#1119) 2024-07-15 15:53:11 +01:00
Tobias Pitters
1afdb5cbad Add is_slippery option for cliffwalking environment (#1087) 2024-07-03 15:46:19 +01:00
Tim Schneider
fc55d47039 Update RescaleAction and RescaleObservation for np.inf bounds (#1095) 2024-07-03 14:53:40 +01:00
Mark Towers
b064b684bb AtariPreprocess - Add an option for tuple[int, int] screen-size (#1105) 2024-07-03 10:19:38 +01:00
Quentin Gallouédec
57136fbaee Check the determinism of env.reset(seed=42); env.reset() (#1086)
Co-authored-by: Quentin Gallouédec <quentin.gallouedec@huggingface.co>
2024-07-02 10:50:56 +01:00
Mark Towers
bf081a55f9 Update Atari documentation for 0.9.0 (#1097) 2024-06-29 10:57:22 +01:00
Ariel Kwiatkowski
8161d7d0a0 Add compatibility with numpy 2.0 (#1094)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2024-06-28 18:48:01 +02:00
Mark Towers
52b6878618 Pre commit autoupdate (#1082) 2024-06-10 17:07:47 +01:00
Kallinteris Andreas
bff88248af Add params and rng argument to all FuncEnv member functions (#900)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
Co-authored-by: Pratik Ingle <prin@itu.dk>
Co-authored-by: Jose Antonio Martin H <ja.martin.h@repsol.com>
Co-authored-by: Oli <ollihaus@t-online.de>
Co-authored-by: Jared Swift <j.w.swift@outlook.com>
Co-authored-by: Tim Schneider <mail@tim-schneider.me>
Co-authored-by: Tim Schneider <tim@robot-learning.de>
Co-authored-by: Tim Schneider <tim.schneider94@t-online.de>
Co-authored-by: Manuel Goulão <msilvagoulao@gmail.com>
Co-authored-by: Michael Panchenko <35432522+MischaPanch@users.noreply.github.com>
Co-authored-by: TobiasKallehauge <tkal@es.aau.dk>
Co-authored-by: Ariel Kwiatkowski <ariel.j.kwiatkowski@gmail.com>
Co-authored-by: James Mochizuki-Freeman <jameymmf@gmail.com>
2024-06-07 22:16:38 +02:00
Kallinteris Andreas
b984e6b74f Refactor remove BaseMujocoEnv class (#1075) 2024-06-05 14:29:14 +01:00
Roger Larsson
04fb3452d3 Fix wrappers.vector.HumanRendering (#1069)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
2024-05-31 11:19:58 +01:00
Mark Towers
296e7a047e Add has_wrapper_attr (#1070) 2024-05-29 10:45:58 +01:00