C# Класс CSharpRoboticsLib.Utility.InputFilter

Input filter functionally identical to that in the NI LabVIEW Controller library
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Update void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Update ( double input ) : void

Updates the internal state by adding the input

Описание методов

Get() публичный Метод

Gets the filtered value of the input without pushing a new value to the internal buffer
public Get ( ) : double
Результат double

Get() публичный Метод

Gets the filtered output of the internal state
public Get ( double value ) : double
value double Value to update the with
Результат double

InputFilter() публичный Метод

Constructs a new InputFilter initialized to Zero
public InputFilter ( )

InputFilter() публичный Метод

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

ReInitialize() публичный Метод

sets all internal states to the double specified
public ReInitialize ( double setTo ) : void
setTo double
Результат void