viam.spatialmath.orientation_vector
Classes
An orientation vector (o_x, o_y, o_z, theta) backed by the spatialmath FFI. |
Module Contents
- class viam.spatialmath.orientation_vector.OrientationVector(o_x: float, o_y: float, o_z: float, theta: float)[source]
An orientation vector (o_x, o_y, o_z, theta) backed by the spatialmath FFI.
thetais in RADIANS for this class. The proto bridge converts to/from the proto’s degrees.- __slots__ = ('_handle', '__weakref__')
- classmethod from_proto(proto: viam.proto.common.Orientation) OrientationVector[source]
- to_proto() viam.proto.common.Orientation[source]
- property o_x: float
- property o_y: float
- property o_z: float
- property theta: float