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 __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.

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.