libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
|
#include <hp_filter.h>
Data Fields | |
double | state |
double | prev |
double | RC |
This is a generic high-pass RC filter. Use hp_filter_init() to initialize the filter and hp_filter_update() to feed the filter new input values to be filtered. The hp_filter_update() function returns the new output value of the filter. You can also retrieve the last output value of the filter using hp_filter_get().
Definition at line 52 of file hp_filter.h.
double prev |
Previous measurement
Definition at line 54 of file hp_filter.h.
double RC |
Time constant parameter (1 / (2.pi.f_c))
Definition at line 55 of file hp_filter.h.
double state |
Current filter state
Definition at line 53 of file hp_filter.h.