Robotics Library  0.7.0
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
rl::math::LowPass< T > Class Template Reference

Low-pass filter. More...

#include <LowPass.h>

Public Member Functions

 LowPass (const ::rl::math::Real &alpha, const ::rl::math::Real &dt, const ::rl::math::Real &rc, const T &y=T())
 
virtual ~LowPass ()
 
operator() (const T &x)
 

Static Public Member Functions

static LowPass< T > Frequency (const ::rl::math::Real &frequency, const ::rl::math::Real &dt, const T &y=T())
 

Private Attributes

::rl::math::Real alpha
 
::rl::math::Real dt
 
::rl::math::Real rc
 
y
 

Detailed Description

template<typename T>
class rl::math::LowPass< T >

Low-pass filter.

Constructor & Destructor Documentation

◆ LowPass()

template<typename T >
rl::math::LowPass< T >::LowPass ( const ::rl::math::Real alpha,
const ::rl::math::Real dt,
const ::rl::math::Real rc,
const T &  y = T() 
)
inline

◆ ~LowPass()

template<typename T >
virtual rl::math::LowPass< T >::~LowPass ( )
inlinevirtual

Member Function Documentation

◆ Frequency()

template<typename T >
static LowPass<T> rl::math::LowPass< T >::Frequency ( const ::rl::math::Real frequency,
const ::rl::math::Real dt,
const T &  y = T() 
)
inlinestatic

◆ operator()()

template<typename T >
T rl::math::LowPass< T >::operator() ( const T &  x)
inline

Member Data Documentation

◆ alpha

template<typename T >
::rl::math::Real rl::math::LowPass< T >::alpha
private

◆ dt

template<typename T >
::rl::math::Real rl::math::LowPass< T >::dt
private

◆ rc

template<typename T >
::rl::math::Real rl::math::LowPass< T >::rc
private

◆ y

template<typename T >
T rl::math::LowPass< T >::y
private

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