Builder

open class Builder

Utility builder for creating new coefficients.

Constructors

Link copied to clipboard
constructor()
Start building.

Functions

Link copied to clipboard
Build the coefficients.
Link copied to clipboard
open fun setAxialPID(axialPID: PIDCoefficients): TankCoefficients.Builder
Set the axial (forward) PID coefficients.
Link copied to clipboard
open fun setCrossTrackPID(crossTrackPID: PIDCoefficients): TankCoefficients.Builder
Set the cross-track (strafe) PID coefficients.
Link copied to clipboard
open fun setHeadingPID(headingPID: PIDCoefficients): TankCoefficients.Builder
Set the heading PID coefficients.
Link copied to clipboard
Set the weight for the velocity error in the heading PID.
Link copied to clipboard
Set the weight for the velocity error in the axial PID.