Searched refs:yk (Results 1 – 3 of 3) sorted by relevance
86 void controller_handler(const double xk, double *yk) in controller_handler() argument96 *yk = 0.0; in controller_handler()104 *yk += p_term + i_term + d_term; in controller_handler()110 if (*yk < -LIMIT_HIGH) in controller_handler()111 *yk = -LIMIT_HIGH; in controller_handler()112 else if (*yk > -LIMIT_LOW) in controller_handler()113 *yk = -LIMIT_LOW; in controller_handler()115 p_param.y_k = *yk; in controller_handler()
221 double yk = 0.0, temp; /* controller output */ in main() local325 controller_handler(trec[0].temp[target_tz_index] / 1000, &yk); in main()326 trec[0].pid_out_pct = yk; in main()
137 extern void controller_handler(const double xk, double *yk);