Public Member Functions | Private Attributes | List of all members
FirstOrderLowPassFilter< T > Class Template Reference

#include <IIRFilter.h>

Public Member Functions

 FirstOrderLowPassFilter (const double _cutoff_freq, const double _dt, const T init_value)
 
getCurrentValue () const
 
double getCutOffFreq () const
 
passFilter (const T &value)
 
void reset (const T &value)
 
void setCutOffFreq (const double f)
 
 ~FirstOrderLowPassFilter ()
 

Private Attributes

double const_param
 
double cutoff_freq
 
double dt
 
prev_value
 

Detailed Description

template<class T>
class FirstOrderLowPassFilter< T >

First order low pass filter

Definition at line 97 of file TorqueFilter/IIRFilter.h.

Constructor & Destructor Documentation

template<class T >
FirstOrderLowPassFilter< T >::FirstOrderLowPassFilter ( const double  _cutoff_freq,
const double  _dt,
const init_value 
)
inline

Definition at line 103 of file TorqueFilter/IIRFilter.h.

template<class T >
FirstOrderLowPassFilter< T >::~FirstOrderLowPassFilter ( )
inline

Definition at line 107 of file TorqueFilter/IIRFilter.h.

Member Function Documentation

template<class T >
T FirstOrderLowPassFilter< T >::getCurrentValue ( ) const
inline

Definition at line 122 of file TorqueFilter/IIRFilter.h.

template<class T >
double FirstOrderLowPassFilter< T >::getCutOffFreq ( ) const
inline

Definition at line 121 of file TorqueFilter/IIRFilter.h.

template<class T >
T FirstOrderLowPassFilter< T >::passFilter ( const T &  value)
inline

Definition at line 110 of file TorqueFilter/IIRFilter.h.

template<class T >
void FirstOrderLowPassFilter< T >::reset ( const T &  value)
inline

Definition at line 115 of file TorqueFilter/IIRFilter.h.

template<class T >
void FirstOrderLowPassFilter< T >::setCutOffFreq ( const double  f)
inline

Definition at line 116 of file TorqueFilter/IIRFilter.h.

Member Data Documentation

template<class T >
double FirstOrderLowPassFilter< T >::const_param
private

Definition at line 101 of file TorqueFilter/IIRFilter.h.

template<class T >
double FirstOrderLowPassFilter< T >::cutoff_freq
private

Definition at line 101 of file TorqueFilter/IIRFilter.h.

template<class T >
double FirstOrderLowPassFilter< T >::dt
private

Definition at line 101 of file TorqueFilter/IIRFilter.h.

template<class T >
T FirstOrderLowPassFilter< T >::prev_value
private

Definition at line 100 of file TorqueFilter/IIRFilter.h.


The documentation for this class was generated from the following file:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:52