C# Class GravityTurn.PIDControllerV

Inheritance: IConfigNode
显示文件 Open project: johnfink8/GravityTurn

Public Properties

Property Type Description
Kp double
prevError UnityEngine.Vector3d

Public Methods

Method Description
Compute ( UnityEngine.Vector3d error ) : UnityEngine.Vector3d
Load ( ConfigNode node ) : void
PIDControllerV ( double Kp, double Ki, double Kd, double max = double.MaxValue, double min = double.MinValue ) : System
Reset ( ) : void
Save ( ConfigNode node ) : void

Method Details

Compute() public method

public Compute ( UnityEngine.Vector3d error ) : UnityEngine.Vector3d
error UnityEngine.Vector3d
return UnityEngine.Vector3d

Load() public method

public Load ( ConfigNode node ) : void
node System.ConfigNode
return void

PIDControllerV() public method

public PIDControllerV ( double Kp, double Ki, double Kd, double max = double.MaxValue, double min = double.MinValue ) : System
Kp double
Ki double
Kd double
max double
min double
return System

Reset() public method

public Reset ( ) : void
return void

Save() public method

public Save ( ConfigNode node ) : void
node System.ConfigNode
return void

Property Details

Kp public_oe property

public double Kp
return double

prevError public_oe property

public Vector3d,UnityEngine prevError
return UnityEngine.Vector3d