(random_state=None)
return composer.Environment(time_limit=30,
                              task=task,
                              random_state=random_state,
                              strip_singleton_obs_buffer_dim=True)
Requires a CMU humanoid to go to a target.
Requires a CMU humanoid to go to a target.
Requires a CMU humanoid to go to a target .
def cmu_humanoid_go_to_target(random_state=None):
  """Requires a CMU humanoid to go to a target."""

  # Build a position-controlled CMU humanoid walker.
  walker = cmu_humanoid.CMUHumanoidPositionControlled()

  # Build a standard floor arena.
  arena = floors.Floor()

  # Build a task that rewards the agent for going to a target.
  task = go_to_target.GoToTarget(
      walker=walker,
      arena=arena,
      physics_timestep=0.005,
      control_timestep=0.03)

  return composer.Environment(time_limit=30,
                              task=task,
                              random_state=random_state,
                              strip_singleton_obs_buffer_dim=True)
def cmu_humanoid_go_to_target ( random_state = None ) : # Build a position-controlled CMU humanoid walker. walker = cmu_humanoid . CMUHumanoidPositionControlled ( ) # Build a standard floor arena. arena = floors . Floor ( ) # Build a task that rewards the agent for going to a target. task = go_to_target . GoToTarget ( walker = walker , arena = arena , physics_timestep = 0.005 , control_timestep = 0.03 ) return composer . Environment ( time_limit = 30 , task = task , random_state = random_state , strip_singleton_obs_buffer_dim = True )