SemanticSensor class
Wrapper for integer id Camera Sensors where each integer is mapped to an object instance or semantic class. 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. SemanticSensor. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.