TankDriveLocalizer
class TankDriveLocalizer(leftMotors: List<DcMotorEx>, rightMotors: List<DcMotorEx>, kinematics: TankKinematics, inPerTick: Double, var pose: Pose2d) : RoadRunnerLocalizer
A RoadRunnerLocalizer that uses the drive encoders to localize the robot.
Parameters
leftMotors
the left motors
rightMotors
the right motors
kinematics
the tank kinematics
inPerTick
the number of inches per encoder tick
pose
the initial pose