setInputBounds

public final Unit setInputBounds(Double min, Double max)

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