habitat.tasks.rearrange.rearrange_sensors.ObjectToGoalDistance class

Euclidean distance from the target object to the goal.

Methods

def get_metric(self)
def reset_metric(self, *args, episode, **kwargs)
def update_metric(self, *args, episode, **kwargs)

Special methods

def __init__(self, sim, config, *args, **kwargs)

Data

cls_uuid: str = 'object_to_goal_distance'

Method documentation

def habitat.tasks.rearrange.rearrange_sensors.ObjectToGoalDistance.get_metric(self)

Returns the current metric for Measure.