Returns the Fish Upright task.
(time_limit=_DEFAULT_TIME_LIMIT, random=None,
environment_kwargs=None)
| 45 | |
| 46 | @SUITE.add('benchmarking') |
| 47 | def upright(time_limit=_DEFAULT_TIME_LIMIT, random=None, |
| 48 | environment_kwargs=None): |
| 49 | """Returns the Fish Upright task.""" |
| 50 | physics = Physics.from_xml_string(*get_model_and_assets()) |
| 51 | task = Upright(random=random) |
| 52 | environment_kwargs = environment_kwargs or {} |
| 53 | return control.Environment( |
| 54 | physics, task, control_timestep=_CONTROL_TIMESTEP, time_limit=time_limit, |
| 55 | **environment_kwargs) |
| 56 | |
| 57 | |
| 58 | @SUITE.add('benchmarking') |
nothing calls this directly
no test coverage detected
searching dependent graphs…