Method
create_sim
(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): |
Tested by
no test coverage detected