SwerveDrive2WheelPositions

class wpimath.kinematics.SwerveDrive2WheelPositions(positions: Tuple[wpimath.kinematics._kinematics.SwerveModulePosition, wpimath.kinematics._kinematics.SwerveModulePosition])

Bases: pybind11_object

Represents the wheel positions for a swerve drive drivetrain.

interpolate(endValue: wpimath.kinematics._kinematics.SwerveDrive2WheelPositions, t: float) wpimath.kinematics._kinematics.SwerveDrive2WheelPositions
property positions Tuple[wpimath.kinematics._kinematics.SwerveModulePosition, wpimath.kinematics._kinematics.SwerveModulePosition]

The distances driven by the wheels.