C# Class PIDn, promenade

Inheritance: MonoBehaviour
Mostra file Open project: jarllarsson/promenade

Public Properties

Property Type Description
NAME string
m_D float[]
m_I float[]
m_Kd float
m_Ki float
m_Kp float
m_P float[]
m_autoKd bool
m_vec Vector3

Public Methods

Method Description
Start ( ) : void
angleAxis ( Quaternion q1, Vector3 &p_axis, float &p_angle ) : void
drive ( Vector2 p_error, float p_dt ) : Vector2
drive ( Quaternion p_current, Quaternion p_goal, float p_dt ) : Vector3
drive ( Vector3 p_error, float p_dt ) : Vector3
drive ( Vector4 p_error, float p_dt ) : Vector4
drive ( float p_error, float p_dt ) : float[]

Private Methods

Method Description
normalize ( Quaternion &q1 ) : void

Method Details

Start() public method

public Start ( ) : void
return void

angleAxis() public method

public angleAxis ( Quaternion q1, Vector3 &p_axis, float &p_angle ) : void
q1 Quaternion
p_axis Vector3
p_angle float
return void

drive() public method

public drive ( Vector2 p_error, float p_dt ) : Vector2
p_error Vector2
p_dt float
return Vector2

drive() public method

public drive ( Quaternion p_current, Quaternion p_goal, float p_dt ) : Vector3
p_current Quaternion
p_goal Quaternion
p_dt float
return Vector3

drive() public method

public drive ( Vector3 p_error, float p_dt ) : Vector3
p_error Vector3
p_dt float
return Vector3

drive() public method

public drive ( Vector4 p_error, float p_dt ) : Vector4
p_error Vector4
p_dt float
return Vector4

drive() public method

public drive ( float p_error, float p_dt ) : float[]
p_error float
p_dt float
return float[]

Property Details

NAME public_oe property

public string NAME
return string

m_D public_oe property

public float[] m_D
return float[]

m_I public_oe property

public float[] m_I
return float[]

m_Kd public_oe property

public float m_Kd
return float

m_Ki public_oe property

public float m_Ki
return float

m_Kp public_oe property

public float m_Kp
return float

m_P public_oe property

public float[] m_P
return float[]

m_autoKd public_oe static_oe property

public static bool m_autoKd
return bool

m_vec public_oe property

public Vector3 m_vec
return Vector3