HPL3/Amnesia: Rebirth/Scripting/cPidControllerVec3

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

Field Type Field Name And Description
float d
float i
float p

Functions

Return Type Function And Description
cVector3f GetLastDerivative()
cVector3f GetLastError()
cVector3f GetLastIntegral()
cVector3f Output(const cVector3f &in avError, float afTimeStep)
void Reset()
void SetErrorNum(int alErrorNum)

Details

d

float d

GetLastDerivative

cVector3f GetLastDerivative()

Returns:

  • cVector3f

GetLastError

cVector3f GetLastError()

Returns:

  • cVector3f

GetLastIntegral

cVector3f GetLastIntegral()

Returns:

  • cVector3f

i

float i

Output

cVector3f Output(const cVector3f &in avError,
                 float afTimeStep)


Parameters

  • avError (cVector3f) —
  • afTimeStep (float) —

Returns:

  • cVector3f

p

float p

Reset

void Reset()

Returns:

  • void

SetErrorNum

void SetErrorNum(int alErrorNum)


Parameters

  • alErrorNum (int) —

Returns:

  • void

References


See all references...