Controller

class wpilib.interfaces.Controller[source]

Bases: builtins.object

An interface for controllers. Controllers run control loops, the most command are PID controllers and there variants, but this includes anything that is controlling an actuator in a separate thread.

disable()[source]

Stops the control loop from running until explicitly re-enabled by calling enable().

enable()[source]

Allows the control loop to run.