LocalizerParams

data class LocalizerParams(val driverName: String = "pinpoint", val parDirection: GoBildaPinpointDriver.EncoderDirection = GoBildaPinpointDriver.EncoderDirection.FORWARD, val perpDirection: GoBildaPinpointDriver.EncoderDirection = GoBildaPinpointDriver.EncoderDirection.FORWARD, var parYTicks: Double = 0.0, var perpXTicks: Double = 0.0)

Parameters for PinpointLocalizer.

Constructors

Link copied to clipboard
constructor(driverName: String = "pinpoint", parDirection: GoBildaPinpointDriver.EncoderDirection = GoBildaPinpointDriver.EncoderDirection.FORWARD, perpDirection: GoBildaPinpointDriver.EncoderDirection = GoBildaPinpointDriver.EncoderDirection.FORWARD, parYTicks: Double = 0.0, perpXTicks: Double = 0.0)

Properties

Link copied to clipboard

the name of the Pinpoint driver in the hardware map

Link copied to clipboard
val parDirection: GoBildaPinpointDriver.EncoderDirection

the direction of the parallel encoder

Link copied to clipboard

the number of ticks the parallel encoder is offset in the Y direction

Link copied to clipboard
val perpDirection: GoBildaPinpointDriver.EncoderDirection

the direction of the perpendicular encoder

Link copied to clipboard

the number of ticks the perpendicular encoder is offset in the X direction