19 #ifndef TG_PID_CONTROLLER_H
20 #define TG_PID_CONTROLLER_H
59 bool tensControl =
false,
60 double setPoint = 0.0);
115 virtual void control(
double dt);
126 virtual void control(
double dt,
double setPoint,
double sensorData);
160 #endif // TG_PID_CONTROLLER_H
Config(double p=1.0, double i=0.0, double d=0.0, bool tensControl=false, double setPoint=0.0)
virtual void control(double dt)
virtual ~tgPIDController()
Definition of the tgBasicController base class.
virtual void setSensorData(double sensorData)
tgPIDController(tgControllable *controllable, tgPIDController::Config config)
const double startingSetPoint