(self)
return observations
Get observation of this environment from a list of sensors.

    Returns:
      observations: sensory observation in the numpy array format
Get observation of this environment from a list of sensors.
Get observation of this environment from a list of sensors .
def _get_observation(self):
    """Get observation of this environment from a list of sensors.

    Returns:
      observations: sensory observation in the numpy array format
    """
    sensors_dict = {}
    for s in self.all_sensors():
      sensors_dict[s.get_name()] = s.get_observation()

    observations = collections.OrderedDict(sorted(list(sensors_dict.items())))
    return observations
def _get_observation ( self ) : sensors_dict = { } for s in self . all_sensors ( ) : sensors_dict [ s . get_name ( ) ] = s . get_observation ( ) observations = collections . OrderedDict ( sorted ( list ( sensors_dict . items ( ) ) ) ) return observations