C# Class CSharpRoboticsLib.Utility.InputFilter

Input filter functionally identical to that in the NI LabVIEW Controller library
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Private Properties

Свойство Type Description
Update void

Méthodes publiques

Méthode Description
Get ( ) : double

Gets the filtered value of the input without pushing a new value to the internal buffer

Get ( double value ) : double

Gets the filtered output of the internal state

InputFilter ( )

Constructs a new InputFilter initialized to Zero

InputFilter ( double initialState )

Constructs a new InputFilter

ReInitialize ( double setTo ) : void

sets all internal states to the double specified

Private Methods

Méthode Description
Update ( double input ) : void

Updates the internal state by adding the input

Method Details

Get() public méthode

Gets the filtered value of the input without pushing a new value to the internal buffer
public Get ( ) : double
Résultat double

Get() public méthode

Gets the filtered output of the internal state
public Get ( double value ) : double
value double Value to update the with
Résultat double

InputFilter() public méthode

Constructs a new InputFilter initialized to Zero
public InputFilter ( )

InputFilter() public méthode

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

ReInitialize() public méthode

sets all internal states to the double specified
public ReInitialize ( double setTo ) : void
setTo double
Résultat void