Source code for wpilib.interfaces.controller

__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