Builder

open class Builder

Utility builder to make constructing the coefficients easier.

Constructors

Link copied to clipboard
constructor()
Begin building the coefficients.

Functions

Link copied to clipboard
Build the coefficients.
Link copied to clipboard
open fun setHeadingPID(headingPID: PIDCoefficients): MecanumCoefficients.Builder
Set the heading PID coefficients.
Link copied to clipboard
Set the lateral multiplier, which is used to ensure the robot moves in a straight line.
Link copied to clipboard
Set the weight of the angular velocity in the drive vector.
Link copied to clipboard
open fun setTranslationalPID(translationalPID: PIDCoefficients): MecanumCoefficients.Builder
Set the translational PID coefficients.
Link copied to clipboard
Set the weight of the x velocity in the drive vector.
Link copied to clipboard
Set the weight of the y velocity in the drive vector.