AgentState class
Represents the rigid transformation state of an agent as a 3D position and quaternion rotation.
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, position: typing.Union[None, typing.List[float], numpy.ndarray], rotation: typing.Union[None, numpy.ndarray, quaternion.quaternion] = None) -> None
- Method generated by attrs for class AgentState.
- def __ne__(self, other)
- Check equality and either forward a NotImplemented or return the result negated.
Properties
- position: typing.Union[None, typing.List[float], numpy.ndarray] get set del
- 3D position of the agent’s base. Typically on the navmesh.
- rotation: typing.Union[None, numpy.ndarray, quaternion.quaternion] get set del
- quaternion orientation of the agent’s base. Typically a yaw rotation.
Method documentation
def habitat. core. simulator. AgentState. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.