Source code for wpilib.interfaces.controller

# validated: 2015-12-22 DS c3c35c6 shared/java/edu/wpi/first/wpilibj/Controller.java
__all__ = ["Controller"]

[docs]class Controller: """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. """
[docs] def enable(self): """Allows the control loop to run.""" raise NotImplementedError
[docs] def disable(self): """Stops the control loop from running until explicitly re-enabled by calling :meth:`enable`. """ raise NotImplementedError