PID.setTunings

Name
PID.setTunings

Description

 * void PID.setTunings( double Kp, double Ki, double Kd )
 * This function allows the controller's dynamic performance to be adjusted. It's called automatically from the constructor, but tunings can also be adjusted on the fly during normal operation

Syntax
PID.setTunings(Kp, Ki, Kd);


 * Parameters
 * Kp - Determines how aggressively the PID reacts to the current amount of error (Proportional) (double >=0)
 * Ki - Determines how aggressively the PID reacts to error over time (Integral) (double>=0)
 * Kd - Determines how aggressively the PID reacts to the change in error (Derivative) (double>=0)


 * Returns/Outputs
 * None