viam.spatialmath.rotation_matrix
Classes
A 3x3 rotation matrix backed by the spatialmath FFI. |
Module Contents
- class viam.spatialmath.rotation_matrix.RotationMatrix(elements: Sequence[float])[source]
A 3x3 rotation matrix backed by the spatialmath FFI.
elementsis a 9-value list in row-major order:elements[3*row + col]is the entry at (row, col).- __slots__ = ('_handle', '__weakref__')
- property elements: List[float]