GT RoboCup SSL
Soccer software, robot firmware
FIRFilter< T > Class Template Reference

A basic FIR filter of variable type with float coeffs. More...

Public Types

typedef std::vector< float > Coeffs
 

Public Member Functions

 FIRFilter (const T &zero, size_t nrTaps)
 
filter (const T &x)
 
void setCoeffs (const Coeffs &coeffs)
 reinitializes the coeffs and taps to new values
 

Protected Attributes

_zero
 
std::deque< T > _taps
 
Coeffs _coeffs
 

Detailed Description

template<typename T>
class FIRFilter< T >

A basic FIR filter of variable type with float coeffs.

Note, coefficients will be normalized so that inputs will always be scaled appropriately

+ Collaboration diagram for FIRFilter< T >:

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