core / com.acmerobotics.roadrunner.control / PIDFController / update

update

@JvmOverloads fun update(measuredPosition: Double, measuredVelocity: Double? = null): Double (source)

Run a single iteration of the controller.

Parameters

measuredPosition - measured position (feedback)

measuredVelocity - measured velocity