ThreeDeadWheelLocalizer

constructor(hardwareMap: HardwareMap, inPerTick: Double, par0Name: String = "par0", par1Name: String = "par1", perpName: String = "perp", par0YTicks: Double = 0.0, par1YTicks: Double = 1.0, perpXTicks: Double = 0.0, par0Direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, par1Direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, perpDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, initialPose: Pose2d = Pose2d.zero)

Parameters

hardwareMap

hardware map

inPerTick

inches per tick

par0Name

name of the first parallel encoder

par1Name

name of the second parallel encoder

perpName

name of the perpendicular encoder

par0YTicks

y-position of the first parallel encoder (in tick units)

par1YTicks

y-position of the second parallel encoder (in tick units)

perpXTicks

x-position of the perpendicular encoder (in tick units)

par0Direction

direction of the first parallel encoder

par1Direction

direction of the second parallel encoder

perpDirection

direction of the perpendicular encoder

initialPose

initial pose