32#if DENSITY_MEASURMENT_COLLECTS_INTEGER
49 || (density_QFF_calculator.
get_count() < 3000))
52 density_QFF_calculator.
reset();
70#if DENSITY_MEASURMENT_COLLECTS_INTEGER
71 float pressure = density_QFF_calculator.
get_mean_y();
73 float pressure = 1
e5 * density_QFF_calculator.
get_mean_y();
76 float std_density = 1.0496346613e-5f * pressure + 0.1671546011f;
82 density_QFF_calculator.
reset();
air-density measurement (interface)
#define MAX_ALLOWED_VARIANCE
#define MINIMUM_ALTITUDE_RANGE
Maintains offset and slope of the air density measurement.
air_data_result feed_metering(float pressure, float MSL_altitude)
void add_value(const sample_type x, const sample_type y)
sample_type get_mean_y(void) const
void evaluate(evaluation_type &a, evaluation_type &b, evaluation_type &variance_a, evaluation_type &variance_b) const
unsigned get_count(void) const
bool process(float value)
mathematical vector of arbitrary type and size
defines platform-dependent algorithms and constants