Tri Deadwheel Mecanum Drive
constructor(constants: DriveConstants, mecanumCoefficients: MecanumCoefficients, @Nullable imu: IMU, frontLeft: DcMotor, frontRight: DcMotor, backLeft: DcMotor, backRight: DcMotor, localizerCoefficients: ThreeWheelLocalizer.Coefficients, enc_left: Deadwheel, enc_right: Deadwheel, enc_x: Deadwheel, lastTrackingEncPositions: List<Integer>, lastTrackingEncVels: List<Integer>)
Create a new TriDeadwheelMecanumDrive
Parameters
constants
The drive constants
mecanum Coefficients
The mecanum coefficients
imu
The IMU. Recommended to be null in a three-wheel odometry setup.
front Left
The front left motor
front Right
The front right motor
back Left
The back left motor
back Right
The back right motor
localizer Coefficients
The three deadwheel localizer coefficients
enc_left
The left y encoder
enc_right
The right y encoder
enc_x
The x encoder
last Tracking Enc Positions
The last tracking encoder positions
last Tracking Enc Vels
The last tracking encoder velocities
constructor(constants: DriveConstants, mecanumCoefficients: MecanumCoefficients, imu: IMU, frontLeft: DcMotor, frontRight: DcMotor, backLeft: DcMotor, backRight: DcMotor, localizerCoefficients: ThreeWheelLocalizer.Coefficients, enc_left: Deadwheel, enc_right: Deadwheel, enc_x: Deadwheel)
Create a new TriDeadwheelMecanumDrive
Parameters
constants
The drive constants
mecanum Coefficients
The mecanum coefficients
imu
The IMU. Recommended to be null in a three-wheel odometry setup.
front Left
The front left motor
front Right
The front right motor
back Left
The back left motor
back Right
The back right motor
localizer Coefficients
The three deadwheel localizer coefficients
enc_left
The left y encoder
enc_right
The right y encoder
enc_x
The x encoder