new reacher mp wrapper for Philipp

This commit is contained in:
Onur
2022-07-07 09:39:20 +02:00
parent 7bd9848c31
commit 819fca1b2e
4 changed files with 31 additions and 18 deletions
+2 -1
View File
@@ -1 +1,2 @@
from .mp_wrapper import MPWrapper
from .mp_wrapper import MPWrapper
from .new_mp_wrapper import NewMPWrapper
+1 -1
View File
@@ -149,4 +149,4 @@ if __name__ == '__main__':
if d:
env.reset()
env.close()
env.close()
@@ -3,7 +3,7 @@ from typing import Union, Tuple
import numpy as np
class MPWrapper(EpisodicWrapper):
class NewMPWrapper(EpisodicWrapper):
@property
def current_pos(self) -> Union[float, int, np.ndarray, Tuple]:
@@ -21,4 +21,4 @@ class MPWrapper(EpisodicWrapper):
[False] * 3, # goal distance
# self.get_body_com("target"), # only return target to make problem harder
[False], # step
])
])