Go to the documentation of this file.
7 #ifndef _LIB_ALMATH_ALMATH_DSP_PIDCONTROLLER_H_
8 #define _LIB_ALMATH_ALMATH_DSP_PIDCONTROLLER_H_
9 #include <almath/api.h>
32 void initialize(
float pKp,
39 float computeFeedback(
float pCommand,
41 float pPeriod = -1.0f);
42 float computeFeedbackAbsolute(
float pAbsoluteErr);
44 void setGains(
float pKp,
float pKv,
float pKi);
63 void xResetParameters(
void);
64 void xCheckData(
void)
const;
65 void xCheckPositif(
float pVal)
const;
66 void xCheckStriclyPositif(
float pVal)
const;
71 #endif // _LIB_ALMATH_ALMATH_DSP_PIDCONTROLLER_H_