components/PID/PID_v1.h

changeset 29
45647136ec95
parent 0
b74b0e4902c3
child 82
7d17e2cb31a8
equal deleted inserted replaced
28:bc7c05011d69 29:45647136ec95
44 * @param[in] Setpoint The setpoint to regulate to. 44 * @param[in] Setpoint The setpoint to regulate to.
45 * @param[in] Kp The Proportional value. 45 * @param[in] Kp The Proportional value.
46 * @param[in] Ki The Intergral value. 46 * @param[in] Ki The Intergral value.
47 * @param[in] Kd The Derivate value. 47 * @param[in] Kd The Derivate value.
48 * @param[in] POn 0 - PID on Measurement, 1 - PID on Error. 48 * @param[in] POn 0 - PID on Measurement, 1 - PID on Error.
49 * @param[in] ControllerDirection Direct or Reverse action. 49 * @param[in] Direction Direct or Reverse action.
50 */ 50 */
51 void PID(double* Input, double* Output, double* Setpoint, double Kp, double Ki, double Kd, PID_PON POn, PID_DIRECTION Direction); 51 void PID(double* Input, double* Output, double* Setpoint, double Kp, double Ki, double Kd, PID_PON POn, PID_DIRECTION Direction);
52 52
53 /** 53 /**
54 * @brief sets PID to either Manual or Automatic. 54 * @brief sets PID to either Manual or Automatic.

mercurial