DidAgentsCollide class
Detects if the 2 agents in the scene are colliding with each other at the current step. Only supports 2 agent setups.
Methods
- def get_metric(self)
- def reset_metric(self, *args, **kwargs)
- def update_metric(self, *args, task, **kwargs)
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None
Method documentation
def habitat. tasks. rearrange. multi_agent_sensors. DidAgentsCollide. get_metric(self)
| Returns | the current metric for Measure. |
|---|
def habitat. tasks. rearrange. multi_agent_sensors. DidAgentsCollide. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.