MCPcopy Create free account
hub / github.com/InternRobotics/UniHSI / __init__

Method __init__

unihsi/env/tasks/vec_task_wrappers.py:46–50  ·  view source on GitHub ↗
(self, task, rl_device, clip_observations=5.0, clip_actions=1.0)

Source from the content-addressed store, hash-verified

44
45class VecTaskPythonWrapper(VecTaskPython):
46 def __init__(self, task, rl_device, clip_observations=5.0, clip_actions=1.0):
47 super().__init__(task, rl_device, clip_observations, clip_actions)
48
49 self._amp_obs_space = spaces.Box(np.ones(task.get_num_amp_obs()) * -np.Inf, np.ones(task.get_num_amp_obs()) * np.Inf)
50 return
51
52 def reset(self, env_ids=None):
53 self.task.reset(env_ids)

Callers

nothing calls this directly

Calls 2

get_num_amp_obsMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected