VertExmotion  1.8.6
1.8.6
Kalagaan.PID Class Reference

Classes

class  Parameters
 

Public Member Functions

 PID ()
 
 PID (float kp, float ki, float kd)
 
float Compute (float input)
 
float Compute (float input, float dt)
 
void ForceTarget (float percent)
 Forces the target to be set earlier More...
 
void Init ()
 Initialize More...
 
void Init (float input)
 Initialize More...
 
void IgnoreFrame ()
 Ignore current frame More...
 

Public Attributes

float lastTime
 
float m_target = 0f
 
float m_timeScale = 1f
 
bool m_unscaledTime = false
 
Parameters m_params = new Parameters()
 
float m_lastInput = 0
 

Static Public Attributes

static Color orange = new Color (240f/255f, 158f/255f, 0)
 
static float dtStep = 1f/100f
 

Constructor & Destructor Documentation

§ PID() [1/2]

Kalagaan.PID.PID ( )

§ PID() [2/2]

Kalagaan.PID.PID ( float  kp,
float  ki,
float  kd 
)

Member Function Documentation

§ Compute() [1/2]

float Kalagaan.PID.Compute ( float  input)

§ Compute() [2/2]

float Kalagaan.PID.Compute ( float  input,
float  dt 
)

§ ForceTarget()

void Kalagaan.PID.ForceTarget ( float  percent)

Forces the target to be set earlier

Parameters
percentPercent.

§ IgnoreFrame()

void Kalagaan.PID.IgnoreFrame ( )

Ignore current frame

§ Init() [1/2]

void Kalagaan.PID.Init ( )

Initialize

§ Init() [2/2]

void Kalagaan.PID.Init ( float  input)

Initialize

Member Data Documentation

§ dtStep

float Kalagaan.PID.dtStep = 1f/100f
static

§ lastTime

float Kalagaan.PID.lastTime

§ m_lastInput

float Kalagaan.PID.m_lastInput = 0

§ m_params

Parameters Kalagaan.PID.m_params = new Parameters()

§ m_target

float Kalagaan.PID.m_target = 0f

§ m_timeScale

float Kalagaan.PID.m_timeScale = 1f

§ m_unscaledTime

bool Kalagaan.PID.m_unscaledTime = false

§ orange

Color Kalagaan.PID.orange = new Color (240f/255f, 158f/255f, 0)
static

The documentation for this class was generated from the following file: