LocalizerParams

data class LocalizerParams(val parName: String = "par", val parDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, val perpName: String = "perp", val perpDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, val parYTicks: Double = 0.0, val perpXTicks: Double = 0.0)

Parameters for TwoDeadWheelLocalizer.

Constructors

Link copied to clipboard
constructor(parName: String = "par", parDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, perpName: String = "perp", perpDirection: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD, parYTicks: Double = 0.0, perpXTicks: Double = 0.0)

Properties

Link copied to clipboard
val parDirection: DcMotorSimple.Direction

the direction of the parallel encoder motor

Link copied to clipboard

the name of the parallel encoder motor

Link copied to clipboard

y position of the parallel encoder (in tick units)

Link copied to clipboard
val perpDirection: DcMotorSimple.Direction

the direction of the perpendicular encoder motor

Link copied to clipboard

the name of the perpendicular encoder motor

Link copied to clipboard

x position of the perpendicular encoder (in tick units)