C# Class _2015_Pre_build_week_project.Team_Code.Utility.InputFilter

Input filter functionally identical to that in the NI LabVIEW PID library
Show file Open project: shockwave4488/2015-Practice-Week-C- Class Usage Examples

Public Methods

Method Description
GetValue ( ) : double

Gets the filtered output of the internal state

InputFilter ( double initialState )

Constructs a new InputFilter

ReInitialize ( double setTo ) : void

sets all internal states to the double specified

Update ( double input ) : void

Updates the internal state by adding the input

Method Details

GetValue() public method

Gets the filtered output of the internal state
public GetValue ( ) : double
return double

InputFilter() public method

Constructs a new InputFilter
public InputFilter ( double initialState )
initialState double Initial state of the filter

ReInitialize() public method

sets all internal states to the double specified
public ReInitialize ( double setTo ) : void
setTo double
return void

Update() public method

Updates the internal state by adding the input
public Update ( double input ) : void
input double new input
return void