ArmFeedforward

constructor(kS: Double, kCos: Double, kV: Double, kA: Double)

Creates a new ArmFeedforward with the specified gains. Units of the gain values will dictate units of the computed feedforward.

Parameters

kS

The static gain.

kCos

The gravity gain.

kV

The velocity gain.

kA

The acceleration gain.


constructor(kS: Double, kCos: Double, kV: Double)

Creates a new ArmFeedforward with the specified gains. Acceleration gain is defaulted to zero. Units of the gain values will dictate units of the computed feedforward.

Parameters

kS

The static gain.

kCos

The gravity gain.

kV

The velocity gain.