calculateVelo

open fun calculateVelo(currentVelo: Double, targetVelo: Double): Double

Alternative calculate method where the feedforward component will be assumed to be a velocity, allowing your feedforward to react faster. This is internally called in Motor via a type check.

Return

calculated controller output

Parameters

currentVelo

current velocity

targetVelo

target velocity, will be used instead of the encoder velocity for feedforward