update

open override fun update(state: Double, goal: Double): Double

Update PID control loop

Parameters

state

New state

goal