Update SDP3x Airspeed Correction (#8242)

Update the model for the standard configuration based on the model from Sensirion and add also an option to do the tube pressure loss correction from Sensirion for other configurations.
This commit is contained in:
Florian Achermann
2017-11-22 22:03:26 -05:00
committed by Daniel Agar
parent 85a7a0a86a
commit a5cc4bcd08
8 changed files with 163 additions and 68 deletions
+4 -3
View File
@@ -146,9 +146,9 @@ struct Parameters {
float vibration_warning_threshold;
int32_t air_pmodel;
int32_t air_cmodel;
float air_tube_length;
float air_tube_diameter_mm;
};
struct ParameterHandles {
@@ -230,8 +230,9 @@ struct ParameterHandles {
param_t vibe_thresh; /**< vibration threshold */
param_t air_pmodel;
param_t air_cmodel;
param_t air_tube_length;
param_t air_tube_diameter_mm;
};