PID
Constructors
PID()
Creates a PID object with constants. Everything past kP has a default starting value, so you can just put kP.
p
kP
i
kI
d
kD
p_start_i
i will start when error is within this
name
a string for the name of the PID
- Prototype
- Example
PID liftPID{1, 0.003, 4, 100, "Lift"};
PID(double p, double i = 0, double d = 0, double start_i = 0, std::string name = "");