new reacher mp wrapper for Philipp
This commit is contained in:
@@ -1 +1,2 @@
|
||||
from .mp_wrapper import MPWrapper
|
||||
from .mp_wrapper import MPWrapper
|
||||
from .new_mp_wrapper import NewMPWrapper
|
||||
|
||||
@@ -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
|
||||
])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user