habitat.tasks.nav.nav.HeadingSensor class

Sensor for observing the agent’s heading in the global coordinate frame.

Args:
sim: reference to the simulator for calculating task observations. config: config for the sensor.

Methods

def get_observation(self, observations, episode, *args: typing.Any, **kwargs: typing.Any)

Special methods

def __format__(self, format_spec, /)
Default object formatter.
def __init__(self, sim: core.simulator.Simulator, config: DictConfig, *args: typing.Any, **kwargs: typing.Any)

Data

cls_uuid: str = 'heading'

Method documentation

def habitat.tasks.nav.nav.HeadingSensor.__format__(self, format_spec, /)

Default object formatter.

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