Merge remote-tracking branch 'origin/Add-ProDMP-envs' into Add-ProDMP-envs
This commit is contained in:
		
						commit
						8f07770a2f
					
				| @ -9,12 +9,9 @@ class BaseMetaworldMPWrapper(RawInterfaceWrapper): | ||||
|     @property | ||||
|     def current_pos(self) -> Union[float, int, np.ndarray]: | ||||
|         r_close = self.env.data.get_joint_qpos("r_close") | ||||
|         # TODO check if this is correct | ||||
|         # return np.hstack([self.env.data.get_body_xpos('hand').flatten() / self.env.action_scale, r_close]) | ||||
|         return np.hstack([self.env.data.mocap_pos.flatten() / self.env.action_scale, r_close]) | ||||
| 
 | ||||
|     @property | ||||
|     def current_vel(self) -> Union[float, int, np.ndarray, Tuple]: | ||||
|         # TODO check if this is correct | ||||
|         return np.zeros(4, ) | ||||
|         # raise NotImplementedError("Velocity cannot be retrieved.") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user