mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
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 <ros/ros.h>
9
10
#include <
mrs_lib/iir_filter.h
>
11
12
namespace
mrs_lib
13
{
14
15
class
NotchFilter
{
16
17
public
:
18
/* NotchFilter(const double& sample_rate, const std::vector<double>& frequencies_in, const std::vector<double>& bandwidths_in); */
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
iir_filter.h
mrs_lib::NotchFilter
Definition:
notch_filter.h:15
mrs_lib
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition:
attitude_converter.h:29
include
mrs_lib
notch_filter.h
Generated by
1.8.17