@JvmOverloads fun update(position: Double, velocity: Double = 0.0, acceleration: Double = 0.0, currentTimestamp: Double = System.nanoTime() / 1e9): Double
Run a single iteration of the controller.
position - current measured position (feedback)
velocity - feedforward velocity
acceleration - feedforward acceleration
currentTimestamp - timestamp for the above parameters (intendend for simulation)