DualDeadwheelMecanumDrive

constructor(constants: DriveConstants, mecanumCoefficients: MecanumCoefficients, imu: IMU, frontLeft: DcMotor, frontRight: DcMotor, backLeft: DcMotor, backRight: DcMotor, localizerCoefficients: TwoWheelLocalizer.Coefficients, parallel: Deadwheel, perpendicular: Deadwheel)

Constructs a new DualDeadwheelMecanumDrive.

Parameters

constants

the drive constants

mecanumCoefficients

the mecanum coefficients

imu

the IMU to use

frontLeft

the front left motor

frontRight

the front right motor

backLeft

the back left motor

backRight

the back right motor

localizerCoefficients

the deadwheel localizer coefficients

parallel

the parallel deadwheel encoder

perpendicular

the perpendicular deadwheel encoder