(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 Run task.
Returns the Run task.
Returns the Run task .
def run(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None):
  """Returns the Run task."""
  move_speed = _RUN_SPEED
  floor_size = move_speed * _DEFAULT_TIME_LIMIT
  physics = Physics.from_xml_string(*get_model_and_assets(floor_size))
  task = Move(move_speed=move_speed, random=random)
  environment_kwargs = environment_kwargs or {}
  return control.Environment(physics, task, time_limit=time_limit,
                             control_timestep=_CONTROL_TIMESTEP,
                             **environment_kwargs)
def run ( time_limit = _DEFAULT_TIME_LIMIT , random = None , environment_kwargs = None ) : move_speed = _RUN_SPEED floor_size = move_speed * _DEFAULT_TIME_LIMIT physics = Physics . from_xml_string ( * get_model_and_assets ( floor_size ) ) task = Move ( move_speed = move_speed , random = random ) environment_kwargs = environment_kwargs or { } return control . Environment ( physics , task , time_limit = time_limit , control_timestep = _CONTROL_TIMESTEP , * * environment_kwargs )