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)
static fromDegrees(value: phoenix6.units.degree) Rotation2d
static fromRotations(value: phoenix6.units.rotation) Rotation2d
radians() phoenix6.units.radian
degrees() phoenix6.units.degree
rotations() phoenix6.units.rotation
cos() float
sin() float
tan() float
rotateBy(other: Rotation2d) Rotation2d