mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
notch_filter.h
Go to the documentation of this file.
1
4
#ifndef NOTCH_FILTER_H
5
#define NOTCH_FILTER_H
6
7
#include <Eigen/Dense>
8
#include <iostream>
9
#include <memory>
10
11
#include <
mrs_lib/iir_filter.h
>
12
13
namespace
mrs_lib
14
{
15
16
class
NotchFilter
17
{
18
19
public
:
20
NotchFilter
(
const
double
& sample_rate,
const
double
& frequency_in,
const
double
& bandwidth_in);
21
22
double
iterate(
double
& sample_in);
23
24
private
:
25
std::unique_ptr<mrs_lib::IirFilter> filter;
26
};
27
28
}
// namespace mrs_lib
29
30
#endif
mrs_lib::NotchFilter
Definition
notch_filter.h:17
iir_filter.h
mrs_lib
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition
attitude_converter.h:24
include
mrs_lib
notch_filter.h
Generated by
1.9.8