GainScheduledArmFeedforward
class GainScheduledArmFeedforward(val kCos: (Double) -> Double, val ticksToAngle: (Double) -> Double) : Feedforward
GainScheduledArmFeedforward is very similar to ArmFeedforward, but the multiplier is no longer constant. This allows you to change your feedforward depending on, say, the extension of a linear slide that rotates.
Parameters
kCos
function to get the multiplier at a given position
ticksToAngle
conversion function to convert input ticks into an angle (in radians)