habitat.core.simulator.RGBSensor class

Wrapper for 3-channel color Camera Sensors. See Sensor parent class for more details.

Methods

def get_observation(self, *args: typing.Any, **kwargs: typing.Any) -> typing.Union[numpy.ndarray, Tensor]

Special methods

def __format__(self, format_spec, /)
Default object formatter.
def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None

Method documentation

def habitat.core.simulator.RGBSensor.__format__(self, format_spec, /)

Default object formatter.

Return str(self) if format_spec is empty. Raise TypeError otherwise.