Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
pt2< datatype, basetype > Class Template Reference

Second order IIR filter. More...

#include <pt2.h>

Public Member Functions

 pt2 (basetype fcutoff)
 constructor taking Fc/Fs
 
void settle (const datatype &present_input)
 
datatype respond (const datatype &input)
 
datatype get_output (void) const
 
datatype get_last_input (void) const
 

Detailed Description

template<class datatype, class basetype>
class pt2< datatype, basetype >

Second order IIR filter.

Definition at line 42 of file pt2.h.

Constructor & Destructor Documentation

◆ pt2()

template<class datatype , class basetype >
pt2< datatype, basetype >::pt2 ( basetype  fcutoff)
inline

constructor taking Fc/Fs

Definition at line 45 of file pt2.h.

References A1, A2, B0, B1, B2, DESIGN_FREQUENCY, ONE, SIN, and SQR.

Member Function Documentation

◆ get_last_input()

template<class datatype , class basetype >
datatype pt2< datatype, basetype >::get_last_input ( void  ) const
inline

Definition at line 92 of file pt2.h.

◆ get_output()

◆ respond()

◆ settle()


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