Builder
Utility builder for creating new coefficients.
Functions
Link copied to clipboard
Build the coefficients.
Link copied to clipboard
open fun setForwardOffset(forwardOffset: Measure<Distance>): ThreeWheelLocalizer.Coefficients.Builder
Set the forward offset of the lateral tracking wheel to the center of rotation.
Link copied to clipboard
Set the gear ratio of the tracking wheel.
Link copied to clipboard
open fun setLateralDistance(lateralDistance: Measure<Distance>): ThreeWheelLocalizer.Coefficients.Builder
Set the lateral distance between the left and right tracking wheels.
Link copied to clipboard
open fun setOverflowCompensation(correctEncoderCounts: Boolean): ThreeWheelLocalizer.Coefficients.Builder
Set overflow compensation to be used on the localizer.
Link copied to clipboard
Set the ticks per revolution of the tracking wheel encoder.
Link copied to clipboard
Set the radius of the tracking wheel.
Link copied to clipboard
Set the forward (x) multiplier for the ticks reported by the forward deadwheels.
Link copied to clipboard
Set the strafe (y) multiplier for the ticks reported by the side deadwheel.