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

setInputBounds

fun setInputBounds(min: Double, max: Double): Unit (source)

Sets bound on the input of the controller. The min and max values are considered modularly-equivalent (that is, the input wraps around).

Parameters

min - minimum input

max - maximum input