class wpilib.interfaces.PIDSource[source]

Bases: builtins.object

This interface allows for PIDController to automatically read from this object.

class PIDSourceParameter[source]

Bases: builtins.object

A description for the type of output value to provide to a PIDController

kAngle = 2
kDistance = 0
kRate = 1

Get the result to use in PIDController

Returns:the result to use in PIDController