habitat.tasks.nav.nav.EpisodicGPSSensor class

The agents current location in the coordinate frame defined by the episode, i.e. the axis it faces along and the origin is defined by its state at t=0

sim: reference to the simulator for calculating task observations. config: Contains the dimensionality field for the number of dimensions to express the agents position
_dimensionality: number of dimensions used to specify the agents position


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

Special methods

def __init__(self, sim: core.simulator.Simulator, config: DictConfig, *args: typing.Any, **kwargs: typing.Any)


cls_uuid: str = 'gps'