ElevatorFeedforward

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

kS

The static gain.

kG

The gravity gain.

kV

The velocity gain.

kA

The acceleration gain.

velocity

The current velocity of the elevator.

acceleration

The current acceleration of the elevator.