habitat_sim.nav.ShortestPath class

Struct for shortest path finding. Used in conjunction with PathFinder.findPath().

Special methods

def __init__(self, /) -> None

Properties

geodesic_distance: float get set
The geodesic distance between requestedStart and requestedEnd. Will be inf if no path exists.
points: typing.List[numpy.ndarray[numpy.float32[3, 1]]] get set
A list of points that specify the shortest path on the navigation mesh between requestedStart and requestedEnd. Will be empty if no path exists.
requested_end: numpy.ndarray[numpy.float32[3, 1]] get set
The ending point for the path.
requested_start: numpy.ndarray[numpy.float32[3, 1]] get set
The starting point for the path.