Elevator Feedforward
constructor(kS: Double, kG: Double, kV: Double, kA: Double, @NonNull velocity: DoubleSupplier, @NonNull acceleration: DoubleSupplier)
Creates a new ElevatorFeedforward with the specified gains and suppliers for the setpoints.
Parameters
k S
The static gain.
k G
The gravity gain.
k V
The velocity gain.
k A
The acceleration gain.
velocity
The current velocity of the elevator.
acceleration
The current acceleration of the elevator.