rtpid.h

来自「PID-REGULATOR FUNCTION "C" SOURCE CODE」· C头文件 代码 · 共 37 行

H
37
字号
/*****************************************************************/
/*							         */
/*   Copyright (c) Quinn-Curtis, 1991, 1992                      */
/*							         */
/*   Filename:  RTPID.H                                          */
/*   Revision:  3.0                                              */
/*   Date:      2/3/92                                         */
/*						                 */
/*   Description: -Routines for PID Control                      */
/*****************************************************************/

#ifdef __cplusplus
extern "C" {
#endif


#ifndef realtype
#include "rtstdhdr.h"
#endif


void rtreseterrorterms(int loopnum);
void rtinitpidstat(int numpid);
void rtfreepidstat(void);
void rtsetpidparameters(int loopnum, int ptype,
			realtype setpnt,realtype steadstat,realtype prop,
			realtype integ, realtype deriv,realtype lowclmp,
			realtype highclmp, realtype rateclmp,
			realtype sampleper, realtype filterconst);
realtype rtcalcpid(int loopnum, realtype currentval, realtype setpnt);



#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?