|
Motion Master
|
This filter is second order with binomial coefficients, damping ratio xi = 1. More...
#include <util.h>
Public Member Functions | |
| LowPassFilter (uint16_t cutoff_frequency, double ts) | |
| double | filter (double value) |
This filter is second order with binomial coefficients, damping ratio xi = 1.
tf(s) = 1/s^2 + 2*xi*omega s + omega^2, where omega - cutoff frequency or fc
| cutoff_frequency | |
| ts |
| LowPassFilter::LowPassFilter | ( | uint16_t | cutoff_frequency, |
| double | ts ) |
| double LowPassFilter::filter | ( | double | value | ) |