(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None)
return control.Environment(physics, task, time_limit=time_limit,
                             control_timestep=_CONTROL_TIMESTEP,
                             **environment_kwargs)
Returns the Walk task.
Returns the Walk task.
Returns the Walk task .
def walk(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None):
  """Returns the Walk task."""
  xml_string = make_model(floor_size=_DEFAULT_TIME_LIMIT * _WALK_SPEED)
  physics = Physics.from_xml_string(xml_string, common.ASSETS)
  task = Move(desired_speed=_WALK_SPEED, random=random)
  environment_kwargs = environment_kwargs or {}
  return control.Environment(physics, task, time_limit=time_limit,
                             control_timestep=_CONTROL_TIMESTEP,
                             **environment_kwargs)
def walk ( time_limit = _DEFAULT_TIME_LIMIT , random = None , environment_kwargs = None ) : xml_string = make_model ( floor_size = _DEFAULT_TIME_LIMIT * _WALK_SPEED ) physics = Physics . from_xml_string ( xml_string , common . ASSETS ) task = Move ( desired_speed = _WALK_SPEED , random = random ) environment_kwargs = environment_kwargs or { } return control . Environment ( physics , task , time_limit = time_limit , control_timestep = _CONTROL_TIMESTEP , * * environment_kwargs )