habitat.tasks.nav.object_nav_task.ObjectViewLocation class

Args:
agent_state: navigable AgentState with a position and a rotation where the object is visible. iou: an intersection of a union of the object and a rectangle in the center of view. This metric is used to evaluate how good is the object view form current position. Higher iou means better view, iou equals 1.0 if whole object is inside of the rectangle and no pixel inside the rectangle belongs to anything except the object.

Special methods

def __init__(self, agent_state: core.simulator.AgentState, iou: typing.Optional[float]) -> None
Method generated by attrs for class ObjectViewLocation.

Properties

agent_state: core.simulator.AgentState get set del
iou: typing.Optional[float] get set del