Struct rc_filter_t#
Defined in File filter.h
Struct Documentation#
-
struct rc_filter_t#
Struct containing configuration and state of a SISO filter.
Also points to dynamically allocated memory which make it necessary to use the allocation and free function in this API for proper use. The user can read and modify values directly from ths struct.
transfer function properties
-
int order#
transfer function order
-
double dt#
timestep in seconds
-
double gain#
Additional gain multiplier, usually 1.0.
-
rc_vector_t num#
numerator coefficients
-
rc_vector_t den#
denominator coefficients
saturation settings
-
int sat_en#
set to 1 by enable_saturation()
-
double sat_min#
lower saturation limit
-
double sat_max#
upper saturation limit
-
int sat_flag#
1 if saturated on the last step
-
int order#