calculate
Calculates the feedforward from the gains and setpoints.
Return
The computed feedforward.
Parameters
velocity
The velocity setpoint.
acceleration
The acceleration setpoint.
Calculates the feedforward from the gains and velocity setpoint (acceleration is assumed to be zero).
Return
The computed feedforward.
Parameters
velocity
The velocity setpoint.