Returns the Run task.
(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None)
| 69 | |
| 70 | @SUITE.add('benchmarking') |
| 71 | def run(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None): |
| 72 | """Returns the Run task.""" |
| 73 | physics = Physics.from_xml_string(*get_model_and_assets()) |
| 74 | task = Humanoid(move_speed=_RUN_SPEED, pure_state=False, random=random) |
| 75 | environment_kwargs = environment_kwargs or {} |
| 76 | return control.Environment( |
| 77 | physics, task, time_limit=time_limit, control_timestep=_CONTROL_TIMESTEP, |
| 78 | **environment_kwargs) |
| 79 | |
| 80 | |
| 81 | @SUITE.add() |
nothing calls this directly
no test coverage detected