habitat.tasks.rearrange.multi_agent_sensors.AreAgentsWithinThreshold class

Returns if the agents are close to each other and about to collide, thus the agents should replan.

Methods

def get_observation(self, observations, episode, *args, **kwargs)

Special methods

def __format__(self, format_spec, /)
Default object formatter.
def __init__(self, sim, config, *args, **kwargs)

Method documentation

def habitat.tasks.rearrange.multi_agent_sensors.AreAgentsWithinThreshold.__format__(self, format_spec, /)

Default object formatter.

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