ProximitySensor class
Sensor for observing the distance to the closest obstacle
- Args:
- sim: reference to the simulator for calculating task observations. config: config for the sensor.
Methods
- def get_observation(self, observations, *args: typing.Any, episode, **kwargs: typing.Any)
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, sim, config, *args: typing.Any, **kwargs: typing.Any)
Data
Method documentation
def habitat. tasks. nav. nav. ProximitySensor. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.