habitat_sim.simulator.Sensor class

Wrapper around habitat_sim.Sensor

TODO(MS) define entire Sensor class in python, reducing complexity

Methods

def _initialize_sensor(self)
Allocate buffers and initialize noise model in preparation for rendering.
def close(self) -> None
def draw_observation(self) -> None
def get_observation(self) -> typing.Union[numpy.ndarray, torch.Tensor]

Special methods

def __init__(self, sim: Simulator, agent: agent.Agent, sensor_id: str) -> None

Data

buffer = typing.Union[numpy.ndarray, ForwardRef('Tensor')]