pylabrobot.resources.Rotation#
- class pylabrobot.resources.Rotation(x: float = 0, y: float = 0, z: float = 0)#
Bases:
SerializableMixinRepresents a 3D rotation.
Attributes
Rotation around the x-axis in degrees (roll).
Rotation around the y-axis in degrees (pitch).
Rotation around the z-axis in degrees (yaw).
Methods
__init__([x, y, z])Return the rotation as a 3x3 matrix.
Serialize using the public Euler-angle representation.