Searched refs:yk (Results 1 – 3 of 3) sorted by relevance
87 void controller_handler(const double xk, double *yk) in controller_handler() argument97 *yk = 0.0; in controller_handler()105 *yk += p_term + i_term + d_term; in controller_handler()111 if (*yk < -LIMIT_HIGH) in controller_handler()112 *yk = -LIMIT_HIGH; in controller_handler()113 else if (*yk > -LIMIT_LOW) in controller_handler()114 *yk = -LIMIT_LOW; in controller_handler()116 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);