habitat.tasks.nav.nav.DistanceToGoal class

The measure calculates a distance towards the goal.

Methods

def get_metric(self)
def reset_metric(self, episode, *args: typing.Any, **kwargs: typing.Any)
def update_metric(self, episode: NavigationEpisode, *args: typing.Any, **kwargs: typing.Any)

Special methods

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

Data

cls_uuid: str = 'distance_to_goal'

Method documentation

def habitat.tasks.nav.nav.DistanceToGoal.get_metric(self)

Returns the current metric for Measure.