LocalizerParams

data class LocalizerParams(val par0Name: String = "par0", val par0Direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, val par1Name: String = "par1", val par1Direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, val perpName: String = "perp", val perpDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, val par0YTicks: Double = 0.0, val par1YTicks: Double = 1.0, val perpXTicks: Double = 0.0)

Parameters for ThreeDeadWheelLocalizer.

Constructors

Link copied to clipboard
constructor(par0Name: String = "par0", par0Direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, par1Name: String = "par1", par1Direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, perpName: String = "perp", perpDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, par0YTicks: Double = 0.0, par1YTicks: Double = 1.0, perpXTicks: Double = 0.0)

Properties

Link copied to clipboard
val par0Direction: DcMotorSimple.Direction

the direction of the first parallel encoder

Link copied to clipboard

the name of the first parallel encoder

Link copied to clipboard

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

Link copied to clipboard
val par1Direction: DcMotorSimple.Direction

the direction of the second parallel encoder

Link copied to clipboard

the name of the second parallel encoder

Link copied to clipboard

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

Link copied to clipboard
val perpDirection: DcMotorSimple.Direction

the direction of the perpendicular encoder

Link copied to clipboard

the name of the perpendicular encoder

Link copied to clipboard

x position of the perpendicular encoder (in tick units)