habitat.core.simulator.ShortestPathPoint class

Wrapper for the information embedded in a single point for a ShortestPath planner object: 3D position, quaternion rotation, and the action which led to the state.

Special methods

def __format__(self, format_spec, /)
Default object formatter.
def __init__(self, position: typing.List[typing.Any], rotation: typing.List[typing.Any], action: typing.Union[int, numpy.ndarray, None] = None) -> None
Method generated by attrs for class ShortestPathPoint.
def __ne__(self, other)
Check equality and either forward a NotImplemented or return the result negated.

Properties

position: typing.List[typing.Any] get set del
3D global position of the path point. Typically corresponds to an agent’s base position on the navmesh.
rotation: typing.List[typing.Any] get set del
quaternion orientation of the agent at the point.
action: typing.Union[int, numpy.ndarray, None] get set del
the action, typically a discrete transformation, which led to the this path point for use in path planning.

Method documentation

def habitat.core.simulator.ShortestPathPoint.__format__(self, format_spec, /)

Default object formatter.

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