MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / walk

Function walk

dm_control/suite/humanoid.py:60–67  ·  view source on GitHub ↗

Returns the Walk task.

(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None)

Source from the content-addressed store, hash-verified

58
59@SUITE.add('benchmarking')
60def 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')

Callers

nothing calls this directly

Calls 3

get_model_and_assetsFunction · 0.70
HumanoidClass · 0.70
from_xml_stringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…