C# Class GravityTurn.PIDController

Inheritance: IConfigNode
Mostrar archivo Open project: johnfink8/GravityTurn

Public Properties

Property Type Description
prevError double

Public Methods

Method Description
Compute ( double error ) : double
Load ( ConfigNode node ) : void
PIDController ( 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 ( double error ) : double
error double
return double

Load() public method

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

PIDController() public method

public PIDController ( 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

prevError public_oe property

public double prevError
return double