SwerveModulePosition

class wpimath.SwerveModulePosition(distance: wpimath.units.meters = 0, angle: wpimath._wpimath.Rotation2d = Rotation2d(0.000000))

Bases: pybind11_object

Represents the position of one swerve module.

WPIStruct = <capsule object "WPyStruct">
property distance_ft
interpolate(endValue: wpimath._wpimath.SwerveModulePosition, t: SupportsFloat | SupportsIndex) wpimath._wpimath.SwerveModulePosition