(time_limit=_DEFAULT_TIME_LIMIT, random=None,
            environment_kwargs=None)
return control.Environment(
      physics, task, time_limit=time_limit, **environment_kwargs)
Returns the Cartpole Balance task.
Returns the Cartpole Balance task.
Returns the Cartpole Balance task .
def balance(time_limit=_DEFAULT_TIME_LIMIT, random=None,
            environment_kwargs=None):
  """Returns the Cartpole Balance task."""
  physics = Physics.from_xml_string(*get_model_and_assets())
  task = Balance(swing_up=False, sparse=False, random=random)
  environment_kwargs = environment_kwargs or {}
  return control.Environment(
      physics, task, time_limit=time_limit, **environment_kwargs)
def balance ( time_limit = _DEFAULT_TIME_LIMIT , random = None , environment_kwargs = None ) : physics = Physics . from_xml_string ( * get_model_and_assets ( ) ) task = Balance ( swing_up = False , sparse = False , random = random ) environment_kwargs = environment_kwargs or { } return control . Environment ( physics , task , time_limit = time_limit , * * environment_kwargs )