adjust env registries in __init__
This commit is contained in:
@@ -1,2 +1 @@
|
||||
from .mp_wrapper import MPWrapper
|
||||
from .new_mp_wrapper import NewMPWrapper
|
||||
from .new_mp_wrapper import MPWrapper
|
||||
|
||||
@@ -5,7 +5,7 @@ import numpy as np
|
||||
from alr_envs.mp.raw_interface_wrapper import RawInterfaceWrapper
|
||||
|
||||
|
||||
class NewMPWrapper(RawInterfaceWrapper):
|
||||
class MPWrapper(RawInterfaceWrapper):
|
||||
@property
|
||||
def current_pos(self) -> Union[float, int, np.ndarray, Tuple]:
|
||||
return self.env.sim.data.qpos[0:7].copy()
|
||||
|
||||
Reference in New Issue
Block a user