rusefi-1/firmware/controllers/math/pid.h

25 lines
310 B
C
Raw Normal View History

2014-09-15 22:03:07 -07:00
/**
* @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_ */