Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
pt2.h File Reference

tunable second order IIR lowpass filter (butterworth) More...

#include <ringbuffer.h>
#include "embedded_math.h"

Go to the source code of this file.

Classes

class  pt2< datatype, basetype >
 Second order IIR filter. More...
 

Macros

#define B0   0.292893218813452
 
#define B1   0.585786437626905
 
#define B2   0.292893218813452
 
#define A1   ZERO
 
#define A2   0.171572875253810
 
#define DESIGN_FREQUENCY   0.25
 

Detailed Description

tunable second order IIR lowpass filter (butterworth)

Author
Dr. Klaus Schaefer

<Larus Flight Sensor Firmware>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file pt2.h.

Macro Definition Documentation

◆ A1

#define A1   ZERO

Definition at line 37 of file pt2.h.

◆ A2

#define A2   0.171572875253810

Definition at line 38 of file pt2.h.

◆ B0

#define B0   0.292893218813452

Definition at line 34 of file pt2.h.

◆ B1

#define B1   0.585786437626905

Definition at line 35 of file pt2.h.

◆ B2

#define B2   0.292893218813452

Definition at line 36 of file pt2.h.

◆ DESIGN_FREQUENCY

#define DESIGN_FREQUENCY   0.25

Definition at line 39 of file pt2.h.