HPL3/Amnesia: Rebirth/Scripting/cPidControllerf
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
Functions
Return Type | Function And Description |
---|---|
float | GetLastDerivative() |
float | GetLastError() |
float | GetLastIntegral() |
float | Output(const float &in afError, float afTimeStep) |
void | Reset() |
void | SetErrorNum(int alErrorNum) |
Details
d
float d
GetLastDerivative
float GetLastDerivative()
Returns:
- float—
GetLastError
float GetLastError()
Returns:
- float—
GetLastIntegral
float GetLastIntegral()
Returns:
- float—
i
float i
Output
float Output(const float &in afError,
float afTimeStep)
Parameters
- afError (float) —
- afTimeStep (float) —
Returns:
- float—
p
float p
Reset
void Reset()
Returns:
- void
SetErrorNum
void SetErrorNum(int alErrorNum)
Parameters
- alErrorNum (int) —
Returns:
- void