Retrieves goal position from mujoco properties or instance vars. Returns: Flat array (3 elements) representing the goal position
(self)
| 463 | raise NotImplementedError |
| 464 | |
| 465 | def _get_pos_goal(self) -> npt.NDArray[Any]: |
| 466 | """Retrieves goal position from mujoco properties or instance vars. |
| 467 | |
| 468 | Returns: |
| 469 | Flat array (3 elements) representing the goal position |
| 470 | """ |
| 471 | assert isinstance(self._target_pos, np.ndarray) |
| 472 | assert self._target_pos.ndim == 1 |
| 473 | return self._target_pos |
| 474 | |
| 475 | def _get_curr_obs_combined_no_goal(self) -> npt.NDArray[np.float64]: |
| 476 | """Combines the end effector's {pos, closed amount} and the object(s)' {pos, quat} into a single flat observation. |
no outgoing calls
no test coverage detected