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

Method __init__

unihsi/env/tasks/vec_task.py:69–71  ·  view source on GitHub ↗
(self, task, rl_device, sync_frame_time=False, clip_observations=5.0, clip_actions=1.0)

Source from the content-addressed store, hash-verified

67# C++ CPU Class
68class VecTaskCPU(VecTask):
69 def __init__(self, task, rl_device, sync_frame_time=False, clip_observations=5.0, clip_actions=1.0):
70 super().__init__(task, rl_device, clip_observations=clip_observations, clip_actions=clip_actions)
71 self.sync_frame_time = sync_frame_time
72
73 def step(self, actions):
74 actions = actions.cpu().numpy()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected