SwerveModulePosition

class wpimath.kinematics.SwerveModulePosition(distance: meters = 0, angle: wpimath.geometry._geometry.Rotation2d = Rotation2d(0.000000))

Bases: pybind11_object

Represents the position of one swerve module.

property angle

Angle of the module.

property distance

Distance the wheel of a module has traveled

property distance_ft