Returns the Walk task.
(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None)
| 58 | |
| 59 | @SUITE.add('benchmarking') |
| 60 | def walk(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None): |
| 61 | """Returns the Walk task.""" |
| 62 | physics = Physics.from_xml_string(*get_model_and_assets()) |
| 63 | task = Humanoid(move_speed=_WALK_SPEED, pure_state=False, random=random) |
| 64 | environment_kwargs = environment_kwargs or {} |
| 65 | return control.Environment( |
| 66 | physics, task, time_limit=time_limit, control_timestep=_CONTROL_TIMESTEP, |
| 67 | **environment_kwargs) |
| 68 | |
| 69 | |
| 70 | @SUITE.add('benchmarking') |
nothing calls this directly
no test coverage detected
searching dependent graphs…