habitat.tasks.nav.nav.Success class

Whether or not the agent succeeded at its task

This measure depends on DistanceToGoal measure.


def get_metric(self)
def reset_metric(self, episode, task, *args: typing.Any, **kwargs: typing.Any)
def update_metric(self, episode, task: core.embodied_task.EmbodiedTask, *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 = 'success'

Method documentation

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

Returns the current metric for Measure.