libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
Data Fields
hp_filter_t Struct Reference

#include <hp_filter.h>

Data Fields

double state
 
double prev
 
double RC
 

Detailed Description

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().

See also
hp_filter_init()
hp_filter_update()
hp_filter_get()

Definition at line 52 of file hp_filter.h.

Field Documentation

◆ prev

double prev

Previous measurement

Definition at line 54 of file hp_filter.h.

◆ RC

double RC

Time constant parameter (1 / (2.pi.f_c))

Definition at line 55 of file hp_filter.h.

◆ state

double state

Current filter state

Definition at line 53 of file hp_filter.h.


The documentation for this struct was generated from the following file: