habitat.core.simulator.SensorSuite class

Represents a set of sensors, with each sensor being identified through a unique id.

Methods

def get(self, uuid: str) -> Sensor
def get_observations(self, *args: typing.Any, **kwargs: typing.Any) -> Observations
Collects data from all sensors and returns it packaged inside Observations.

Special methods

def __init__(self, sensors: typing.Iterable[Sensor]) -> None

Data

sensors: typing.Dict[str, Sensor] = None
dict mapping Sensors’ uids to their Sensor objects.
observation_spaces: gym.spaces.dict.Dict = None
dict of observation spaces for each sensor keyed by uid.

Method documentation

def habitat.core.simulator.SensorSuite.__init__(self, sensors: typing.Iterable[Sensor]) -> None

Parameters
sensors list containing sensors for the environment, uuid of each sensor must be unique.