My Project
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
UniExtensions.Control.PID Class Reference

A classic PID controller. More...

Public Member Functions

 PID ()
 
 PID (bool useAngles)
 
float Update (float actual)
 
float Update (float actual, float target)
 
float Update ()
 

Public Attributes

float Kp = 0.5f
 
float Ki = 0f
 
float Kd = 0f
 
float target
 
float actual
 
float signal
 
bool useAngles = false
 

Detailed Description

A classic PID controller.

Constructor & Destructor Documentation

UniExtensions.Control.PID.PID ( )
inline
UniExtensions.Control.PID.PID ( bool  useAngles)
inline

Member Function Documentation

float UniExtensions.Control.PID.Update ( float  actual)
inline
float UniExtensions.Control.PID.Update ( float  actual,
float  target 
)
inline
float UniExtensions.Control.PID.Update ( )
inline

Member Data Documentation

float UniExtensions.Control.PID.actual
float UniExtensions.Control.PID.Kd = 0f
float UniExtensions.Control.PID.Ki = 0f
float UniExtensions.Control.PID.Kp = 0.5f
float UniExtensions.Control.PID.signal
float UniExtensions.Control.PID.target
bool UniExtensions.Control.PID.useAngles = false

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