mirror of https://github.com/rusefi/rusefi-1.git
25 lines
310 B
C
25 lines
310 B
C
|
/**
|
||
|
* @file pid.h
|
||
|
*
|
||
|
* @date Sep 16, 2014
|
||
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
||
|
*/
|
||
|
|
||
|
#ifndef PID_H_
|
||
|
#define PID_H_
|
||
|
|
||
|
class Pid {
|
||
|
|
||
|
public:
|
||
|
Pid(float pFactor, float iFactor, float dFactor);
|
||
|
float getValue(float input);
|
||
|
|
||
|
private:
|
||
|
float pFactor;
|
||
|
float iFactor;
|
||
|
float dFactor;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif /* PID_H_ */
|