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

◆ FirstOrderLowPassFilter()

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.

◆ ~FirstOrderLowPassFilter()

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

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

Member Function Documentation

◆ getCurrentValue()

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

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

◆ getCutOffFreq()

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

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

◆ passFilter()

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

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

◆ reset()

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

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

◆ setCutOffFreq()

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

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

Member Data Documentation

◆ const_param

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

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

◆ cutoff_freq

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

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

◆ dt

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

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

◆ prev_value

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 Sat Dec 17 2022 03:52:21