phoenix6.swerve.utility.geometry

Module Contents

Functions

lerp(startValue, endValue, t)

phoenix6.swerve.utility.geometry.lerp(startValue, endValue, t: phoenix6.units.second)
class phoenix6.swerve.utility.geometry.Rotation2d
class phoenix6.swerve.utility.geometry.Rotation2d(value: phoenix6.units.radian, /)
class phoenix6.swerve.utility.geometry.Rotation2d(x: float, y: float, /)
classmethod fromDegrees(value: phoenix6.units.degree) Self
classmethod fromRotations(value: phoenix6.units.rotation) Self
radians() phoenix6.units.radian
degrees() phoenix6.units.degree
rotations() phoenix6.units.rotation
cos() float
sin() float
tan() float
rotateBy(other: Self) Self
relativeTo(other: Self) Self