Commit Graph

258 Commits

Author SHA1 Message Date
6d80201a03 Simplified metaworld adapter 2023-08-21 11:58:29 +02:00
5b99227fac Moving the ugly_mitigation_for_metaworld_bug into the metaworld env wrapper 2023-08-14 16:45:33 +02:00
14d545acee Fixed: Name generation wrong for mp envs 2023-08-14 16:08:13 +02:00
fb1282fe1e Use new namespace convention for mp-versions of envs 2023-08-14 10:51:43 +02:00
14223c56ba Fix: Controllers not getting kwargs 2023-07-30 19:32:32 +02:00
caf483a23b Fixed Typo dm_controll -> dm_control 2023-07-30 18:31:50 +02:00
fb8f81afea Don't use defaultdicts for MOVEMENT_PRIMITIVE_ENVIRONMENTS_FOR_NS
(is ugly when exporting)
2023-07-30 18:29:47 +02:00
e30b6c0e04 Removed old code samples from meta mp docs 2023-07-30 18:15:51 +02:00
5519fd5a34 Fix: Wrong name for ns: dmc -> dm_controll 2023-07-30 18:14:50 +02:00
b4793c89bc Fix: ALL_FANCY_MOVEMENT_PRIMITIVE_ENVIRONMENTS no longer exists in fancy
registry
2023-07-30 17:59:30 +02:00
20d0be3c8d Replicate legacy behavior in exporting lists off all mp envs 2023-07-30 17:56:28 +02:00
bc3f540daf weight_scale -> weights_scale 2023-07-30 17:51:37 +02:00
e63a0a50df Ported metaworld to mp-config 2023-07-30 17:42:27 +02:00
e743663018 Ported dmc envs to mp-config 2023-07-30 17:41:44 +02:00
d48836368c Print warning when trying to register already registered step-based env 2023-07-29 11:37:03 +02:00
6b07705a88 Fix: fancy_gym.upgrade ignored mp_config_override-arg 2023-07-29 11:27:58 +02:00
ae1033a18c Remember mp-envs for each ns seperately (replicate legacy functionality) 2023-07-29 11:26:48 +02:00
2fc44667c6 fancy_gym.upgrade allows adding mp-versions for already registered envs 2023-07-24 10:33:00 +02:00
bb20bb53ec entry_point does not have to be given, when skipping registration of step-based 2023-07-24 10:30:34 +02:00
edd8c75ed3 Consistent quotation marks 2023-07-23 15:26:11 +02:00
3a9143fd93 removed file deprecated 2023-07-23 15:14:14 +02:00
127d355ccc Move into our own namespace ('fancy') 2023-07-23 13:17:54 +02:00
fc4b98ea7d Allow envs to already be wrapped with a RawInterfaceWrapper 2023-07-23 13:12:07 +02:00
e2ff915a71 Fix: Cannot use .get for object attributes 2023-07-23 13:11:31 +02:00
6787b02bbd Fixed missing import in metaworld_adapter 2023-07-23 12:26:41 +02:00
99a02b8347 Started work on new adapter & mp_config port for metaworld 2023-07-23 12:21:34 +02:00
21a9c0f8a3 Fixed Bug leading to infinite recusrion when making mp envs 2023-07-23 11:06:08 +02:00
ce34df1814 No longer export old custom make 2023-07-23 11:05:45 +02:00
a069aaac65 Removed old manual registration of mp-envs (port to fancy registry) 2023-07-23 10:25:28 +02:00
9ba3fa9dbc ported mp_config for mujoco/table_tennis 2023-07-23 10:25:01 +02:00
64e6ac5323 ported mp_config for mujoco/beerpong 2023-07-23 10:03:18 +02:00
83d5d39b42 removed deprecated envs 2023-07-20 11:48:19 +02:00
dbf2be1006 refactoring env registration wip 2023-07-20 11:45:53 +02:00
1b061b2a37 ported mp_config for mujoco/box_pushing 2023-07-20 11:45:32 +02:00
8d26cccc35 ported mp_config for mujoco/box_pushing 2023-07-20 11:44:50 +02:00
17d370e2ba Allow overriding mp_config during register and make (also better errors
for DefaultMPWrapper)
2023-07-20 11:44:04 +02:00
9d03542282 Move mp_config out of metadata and onto MPWrappers 2023-07-20 10:56:30 +02:00
f6e1718c1a metadata.mp_config now expected in MP_wrapper (implementing Fabian's feedback) 2023-07-20 10:34:38 +02:00
9fa932d2bb minor refactoring 2023-07-20 10:33:39 +02:00
30bafd7a4f Allow skipping merge with default bb config 2023-07-14 15:58:58 +02:00
f375a6e4df Ported classic_control envs to fancy registry 2023-07-14 14:31:36 +02:00
6c90f8ade2 Getting rid of some old code 2023-07-14 14:29:08 +02:00
ffbada2311 Started implementing new fancy registry 2023-07-14 14:28:31 +02:00
Leo Kraft
a3df09379e Fix wrong argument order in tracking controller call 2023-07-13 19:18:43 +02:00
27f8335a0d Remove dependence of wrapper on old gym 2023-07-07 13:12:57 +02:00
hongyi.zhou
bd7e811a64 fix tau bound and init bound bug 2023-07-03 17:19:41 +02:00
bc0dcb7642 Fixed: Tried importing old dependency 2023-06-24 11:43:40 +02:00
f8ad65b790 Remove old file 2023-06-18 14:25:59 +02:00
9ade0dcdc4 Fix: Make wrappers work with BB and Dict-Space 2023-06-18 14:25:20 +02:00
b032dec5fe Better handling of envs without defined max_steps 2023-06-18 14:23:59 +02:00
60a4cf11d6 Fix: Some envs used no longer existing binding to mujoco 2023-06-18 12:10:01 +02:00
a23b44752e Implement support for Dict spaces for time_aware_observation-wrapper 2023-06-11 17:38:16 +02:00
abeb963b4e Little hack to make envs work, that don't expose the max_episode_steps in their spec 2023-06-11 17:37:32 +02:00
2ad42f4132 Fix: Minor bugs in time aware obs wrapper 2023-06-11 13:47:38 +02:00
4921cc4b0b Fix: Some envs had wrong obs space shapes and did not follow new gym spec 2023-06-11 13:45:44 +02:00
80de15fd14 Fix: Return for invalid trajectories did not follow new gym spec 2023-06-11 13:43:10 +02:00
6f1a36d18c Adding required render_fps metadata to custom envs 2023-06-11 12:30:56 +02:00
ef64b0c21c Adding/fixing obs space definitions and metadata for various envs 2023-06-11 11:08:46 +02:00
40d2409c26 Fixed: ant_jump returned observations bigger then observation_space 2023-06-10 18:48:13 +02:00
42003a3f9a Allow custom XML-files for ant_env 2023-06-10 18:47:41 +02:00
ddf6fd73b2 Fixed: hopper_jump returned observations bigger then observation_space 2023-06-10 18:40:03 +02:00
5e7f027ea0 Fixed Bug: walker_2d_jump was missing obsvation_space attribute 2023-06-10 18:34:49 +02:00
ff382a2922 Converted mujoco env 'walker2d' to new coordinate convention
New versions of mujoco no longer allow global coordinates.
We therefore convert them to local ones.
The original files are kept as reference.
2023-06-10 13:40:33 +02:00
c06fbee728 Converted mujoco env 'hopper_throw' to new coordinate convention
New versions of mujoco no longer allow global coordinates.
We therefore convert them to local ones.
The original files are kept as reference.
2023-06-10 13:37:40 +02:00
38cb5e1750 Converted mujoco env 'hopper_jump' to new coordinate convention
New versions of mujoco no longer allow global coordinates.
We therefore convert them to local ones.
The original files are kept as reference.
2023-06-10 13:35:48 +02:00
1fddeb838b Forgot to make it derive from Walker2dEnvCustomXML instead of original Walker2dEnv 2023-05-27 13:06:19 +02:00
110a8a9c0c Fix: MujocoEnv no longer supports manual assignment of mujoco_bindings 2023-05-27 12:55:46 +02:00
dbd7c37da5 Also support old gym Box as observation_space (backwards compat) 2023-05-27 12:54:30 +02:00
29b458c7df Fix: hopper_jump_on_box still used unpatched HopperEnv 2023-05-27 12:53:57 +02:00
35680ab9a2 Merge branch 'master' into gym_upgrade 2023-05-27 11:45:51 +02:00
d6df6779a1 Auto convert output spaces.Dict to Box for BB-Envs 2023-05-27 11:39:47 +02:00
Fabian
053a17889f
Merge pull request #56 from HongyiZhouCN/55-table-tennis-dev
#55 add table tennis environment to fancy_gym
2023-05-24 10:03:38 +02:00
dabfc7cafe Adapted Mujoco Envs to new gymnasium spec
Gymnasium Mujoco Envs no longer allow overriding the used xml_file
We therefore implement intermediate classes, that reimplement this
feature.
2023-05-19 15:18:14 +02:00
1c002a235b Warning no longer applicable 2023-05-19 15:17:28 +02:00
e70a56a7e3 Fixed: Typos 2023-05-19 14:04:19 +02:00
e75ab89a37 Ported box_pushing to new mujoco bindings 2023-05-19 14:01:31 +02:00
bf3ed8a06c Fix: TimeAwareObservation did not support float64 and tried to forbidden access private attribute. 2023-05-19 13:59:54 +02:00
07de655025 Allow dmc envs to be accessed via dmc:... (for backwards compatibility) 2023-05-18 19:50:19 +02:00
0dfd8e18e4 Fixed Bug: env_id was broken, when prefix is handled by other library
(e.g. 'dmc:...' by shimmy)
2023-05-18 19:08:11 +02:00
228e343a1b Merge branch '47-update-to-new-gym-api' into gym_upgrade 2023-05-15 17:19:50 +02:00
Hongyi Zhou
02df59a1f5 disable goal & relative goal & 3basis & scale0.7 2023-04-10 09:06:43 +02:00
Hongyi Zhou
96e8d01fb6 enlarge t0 & T bounds for ProDMP 2023-04-09 22:17:15 +02:00
Hongyi Zhou
1ba58bca52 3 bases & disable relative goal for table tennis 2023-04-09 20:54:23 +02:00
Hongyi Zhou
e7694cc11f update config 2023-04-09 16:42:34 +02:00
Hongyi Zhou
7c66ee2136 update alpha=5 for prodmp tt 2023-04-09 16:32:34 +02:00
hongyi.zhou
ffa8c9bddb update weight scaling for bbrl-prodmp tt 2023-04-06 15:57:39 +02:00
hongyi.zhou
7f38292937 add disable goal & relative goal to tt prodmp 2023-04-06 13:29:43 +02:00
hongyi.zhou
2add522298 minor update 2023-04-06 11:41:55 +02:00
hongyi.zhou
59af1bbf8a minor update 2023-04-06 11:41:05 +02:00
hongyi.zhou
89833164dd enable autoscale for prodmp 2023-04-06 09:49:20 +02:00
hongyi.zhou
56d46c9ffc add prodmp for table tennis 2023-04-06 09:46:55 +02:00
ottofabian
93705d5f14
Update __init__.py 2023-03-24 09:40:11 +01:00
Fabian
5c8ba41e04 updated for new mp_pytorch 2023-03-21 15:27:11 +01:00
Fabian
8f07770a2f Merge remote-tracking branch 'origin/Add-ProDMP-envs' into Add-ProDMP-envs 2023-03-13 10:52:07 +01:00
Hongyi Zhou
b415be4b4d update mp_params for box pushing and tt 2023-03-12 12:27:44 +01:00
ottofabian
0781077bde
Update base_metaworld_mp_wrapper.py 2023-02-14 10:05:05 +01:00
hongyi.zhou
344c11d67a updates according to changes request 2023-01-27 17:50:14 +01:00
hongyi.zhou
67f684cf14 Merge branch 'master' into 55-table-tennis-dev 2023-01-27 14:38:25 +01:00
Fabian
176fb087af Merge remote-tracking branch 'origin/master' into Add-ProDMP-envs
# Conflicts:
#	fancy_gym/black_box/black_box_wrapper.py
#	fancy_gym/meta/__init__.py
2023-01-25 09:30:53 +01:00
Fabian
8903c2dc9f updated for new mp_pytorch 2023-01-25 09:20:36 +01:00