File-By-File
AngleController

AngleController

A feedback-based controller. Controllers function by receiving some form of input and returning some form of output. This type of controller works with Angle.

Methods

getMin()

Gets the controller's minimum output value.

setMin(Angle min)

Sets the controller's minimum output value.

getMax()

Gets the controller's maximum output value.

setMax(Angle max)

Sets the controller's maximum output value.

reset()

Resets the controller.

getTarget()

Gets the controller's target value.

setTarget(Angle target)

Sets the controller's target value.

calculate(Angle value)

Uses an input reading to determine an output.

calculate(Angle value, Angle target)

Uses an input reading to determine an output. Also, set the target point.