WPILibC++  2020.3.2-60-g3011ebe
frc::Controller Class Referenceabstract

Interface for Controllers. More...

#include <Controller.h>

Inheritance diagram for frc::Controller:

Public Member Functions

 Controller (Controller &&)=default
Controlleroperator= (Controller &&)=default
virtual void Enable ()=0
 Allows the control loop to run.
virtual void Disable ()=0
 Stops the control loop from running until explicitly re-enabled by calling enable()

Detailed Description

Interface for Controllers.

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

Only used by the deprecated PIDController

The documentation for this class was generated from the following file: