MecanumDriveLocalizer

constructor(leftFront: DcMotorEx, leftBack: DcMotorEx, rightBack: DcMotorEx, rightFront: DcMotorEx, kinematics: MecanumKinematics, imu: IMU, inPerTick: Double, pose: Pose2d)

Parameters

leftFront

the left front motor

leftBack

the left rear motor

rightBack

the right rear motor

rightFront

the right front motor

kinematics

the mecanum kinematics

imu

the imu

inPerTick

the number of inches per encoder tick

pose

the initial pose