TankCoefficients

open class TankCoefficients

Tank drive coefficients that define robot amplitudes for a Tank drivetrain. These constants are constructed per robot with a builder pattern.

Author

Lucas Bubner, 2023

Since

1.0.0-pre

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class Builder
Utility builder for creating new coefficients.

Properties

Link copied to clipboard
open var AXIAL_PID: PIDCoefficients
PID coefficients for the axial (forward) control.
Link copied to clipboard
open var CROSS_TRACK_PID: PIDCoefficients
PID coefficients for the cross-track (strafe) control.
Link copied to clipboard
open var HEADING_PID: PIDCoefficients
PID coefficients for the heading control.
Link copied to clipboard
Weight for the velocity error in the heading PID.
Link copied to clipboard
open var VX_WEIGHT: Double
Weight for the velocity error in the axial PID.