(self, initial_motor_angles=None, reset_duration=0.0)
return observation
Resets the robot's position in the world or rebuild the sim world.

    The simulation world will be rebuilt if self._hard_reset is True.

    Args:
      initial_motor_angles: A list of Floats. The desired joint angles after
        reset. If None, the robot will use its built-in value.
      reset_duration: Float. The time (in seconds) needed to rotate all motors
        to the desired initial values.

    Returns:
      A numpy array contains the initial observation after reset.
Resets the robot's position in the world or rebuild the sim world.
Resets the robot s position in the world or rebuild the sim world .
def reset(self, initial_motor_angles=None, reset_duration=0.0):
    """Resets the robot's position in the world or rebuild the sim world.

    The simulation world will be rebuilt if self._hard_reset is True.

    Args:
      initial_motor_angles: A list of Floats. The desired joint angles after
        reset. If None, the robot will use its built-in value.
      reset_duration: Float. The time (in seconds) needed to rotate all motors
        to the desired initial values.

    Returns:
      A numpy array contains the initial observation after reset.
    """
    original_observation = self._gym_env.reset(initial_motor_angles, reset_duration)
    observation = self._modify_observation(original_observation)

    if self._enable_curriculum():
      self._update_time_limit()

    return observation
def reset ( self , initial_motor_angles = None , reset_duration = 0.0 ) : original_observation = self . _gym_env . reset ( initial_motor_angles , reset_duration ) observation = self . _modify_observation ( original_observation ) if self . _enable_curriculum ( ) : self . _update_time_limit ( ) return observation