calculate
Calculates the feedforward output for a desired velocity and acceleration.
Return
The feedforward output value.
Parameters
velocity
The desired velocity.
acceleration
The desired acceleration (defaults to 0.0 for constant velocity).
Calculates the feedforward output from a MotionState.
Return
the feedforward output
Parameters
state
the target motion state containing velocity and acceleration