ElevatorFeedforward

constructor(coefficients: GravityFeedforwardParameters)(source)

Parameters

coefficients

the GravityFeedforwardParameters containing the feedforward gains


constructor(kG: Double, kS: Double = 0.0, kV: Double = 0.0, kA: Double = 0.0)(source)

Secondary constructor for initializing the ElevatorFeedforward with individual feedforward parameters.

Parameters

kG

gravity feedforward gain, used to compensate for constant gravitational forces

kS

static friction feedforward gain, used to overcome static friction (multiplied by the sign of velocity)

kV

velocity feedforward gain, multiplied by the desired velocity

kA

acceleration feedforward gain, multiplied by the desired acceleration