class_docstr: Pixel observation wrapper for obtaining pixel observations.
  
  Instead of returning the default environment observation, the wrapped
  environment's render function is used to produce RGB pixel observations.
  
  This behaves like gym.wrappers.PixelObservationWrapper but returns a
  gym.spaces.Box observation space and observation instead of
  a gym.spaces.Dict.
  
  Args:
      env (gym.Env): The environment to wrap. This environment must produce
          non-pixel observations and have a Box observation space.
      headless (bool): If true, this creates a window to init GLFW. Set to
          true if running on a headless machine or with a dummy X server,
          false otherwise.
docstr: gym.Env step function.
  
  Performs one action step in the enviornment.
  
  Args:
      action (np.ndarray): Action of shape :math:`(A*, )`
          to pass to the environment.
  
  Returns:
      np.ndarray: Pixel observation of shape :math:`(O*, )`
          from the wrapped environment.
      float : Amount of reward returned after previous action.
      bool : Whether the episode has ended, in which case further step()
          calls will return undefined results.
      dict: Contains auxiliary diagnostic information (helpful for
          debugging, and sometimes learning).
code: def step(self, action):
      """gym.Env step function.
  
      Performs one action step in the enviornment.
  
      Args:
          action (np.ndarray): Action of shape :math:`(A*, )`
              to pass to the environment.
  
      Returns:
          np.ndarray: Pixel observation of shape :math:`(O*, )`
              from the wrapped environment.
          float : Amount of reward returned after previous action.
          bool : Whether the episode has ended, in which case further step()
              calls will return undefined results.
          dict: Contains auxiliary diagnostic information (helpful for
              debugging, and sometimes learning).
      """
      obs, reward, done, info = self.env.step(action)
      return obs["pixels"], reward, done, info
  
file_path: garage/src/garage/envs/wrappers/pixel_observation.py
imports: import gym
  from gym.wrappers.pixel_observation import PixelObservationWrapper
label_desc: Use image node_id 5 for calling the PixelObservationWrapper obj's underlying member method code with example usage: obj.step(action) and returns: obs,  reward,  done,  info