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

Method create_sim

unihsi/env/tasks/base_task.py:118–124  ·  view source on GitHub ↗
(self, compute_device, graphics_device, physics_engine, sim_params)

Source from the content-addressed store, hash-verified

116 return 1
117
118 def create_sim(self, compute_device, graphics_device, physics_engine, sim_params):
119 sim = self.gym.create_sim(compute_device, graphics_device, physics_engine, sim_params)
120 if sim is None:
121 print("*** Failed to create sim")
122 quit()
123
124 return sim
125
126 def step(self, actions):
127 if self.dr_randomizations.get('actions', None):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected