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
public
:
19
NotchFilter
(
const
double
& sample_rate,
const
double
& frequency_in,
const
double
& bandwidth_in);
20
21
double
iterate(
double
& sample_in);
22
23
private
:
24
std::unique_ptr<mrs_lib::IirFilter> filter;
25
};
26
27
}
// namespace mrs_lib
28
29
#endif
mrs_lib::NotchFilter
Definition
notch_filter.h:16
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