habitat.core.simulator.Sensor class

Represents a sensor that provides data from the environment to agent.

Contents

The user of this class needs to implement the get_observation method and the user is also required to set the below attributes:

Methods

def get_observation(self, *args: typing.Any, **kwargs: typing.Any) -> typing.Any
Returns: current observation for Sensor.

Special methods

def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None

Data

uuid: str = None
universally unique id.
config: habitat.config.default.Config = None
sensor_type: SensorTypes = None
type of Sensor, use SensorTypes enum if your sensor comes under one of it’s categories.
observation_space: gym.core.Space = None
gym.Space object corresponding to observation of sensor.