Returns the Run task.
(time_limit=_DEFAULT_TIME_LIMIT, random=None,
environment_kwargs=None)
| 80 | |
| 81 | @SUITE.add() |
| 82 | def run_pure_state(time_limit=_DEFAULT_TIME_LIMIT, random=None, |
| 83 | environment_kwargs=None): |
| 84 | """Returns the Run task.""" |
| 85 | physics = Physics.from_xml_string(*get_model_and_assets()) |
| 86 | task = Humanoid(move_speed=_RUN_SPEED, pure_state=True, random=random) |
| 87 | environment_kwargs = environment_kwargs or {} |
| 88 | return control.Environment( |
| 89 | physics, task, time_limit=time_limit, control_timestep=_CONTROL_TIMESTEP, |
| 90 | **environment_kwargs) |
| 91 | |
| 92 | |
| 93 | class Physics(mujoco.Physics): |
nothing calls this directly
no test coverage detected
searching dependent graphs…