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

Function run_pure_state

dm_control/suite/humanoid.py:82–90  ·  view source on GitHub ↗

Returns the Run task.

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

Source from the content-addressed store, hash-verified

80
81@SUITE.add()
82def 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
93class Physics(mujoco.Physics):

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…