Added Interlock
Fixed PID regulation functionality git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@250 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
// Constant and macro definitions
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#define PID_FIXED_POINT_FACTOR (1000)
|
||||
#define PID_FIXED_POINT_FACTOR (10000)
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Type definitions.
|
||||
@@ -92,6 +92,6 @@ extern ErrorStatus PID_construct(struct Pid* self, int Kp, int Ki, int Kd, int i
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern int PID_calculate(struct Pid* self, int input, int error);
|
||||
extern int PID_calculate(struct Pid* self, int error);
|
||||
|
||||
#endif /* INC_PID_H_ */
|
||||
|
||||
Reference in New Issue
Block a user