diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-03-14 01:13:22 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-03-14 01:13:22 +0100 |
commit | 0784ef918925a546e0e4294571859150f0789561 (patch) | |
tree | 06a63f4d17a22f0ed872d318e6c21ddb3866d34c /src/modules/uORB/topics/differential_pressure.h | |
parent | b6a087e92183ef9cca513357919b96ea2812d298 (diff) | |
download | px4-firmware-0784ef918925a546e0e4294571859150f0789561.tar.gz px4-firmware-0784ef918925a546e0e4294571859150f0789561.tar.bz2 px4-firmware-0784ef918925a546e0e4294571859150f0789561.zip |
add low pass filter to meas airspeed driver including logging of filtered value
Diffstat (limited to 'src/modules/uORB/topics/differential_pressure.h')
-rw-r--r-- | src/modules/uORB/topics/differential_pressure.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/differential_pressure.h b/src/modules/uORB/topics/differential_pressure.h index 5d94d4288..3592c023c 100644 --- a/src/modules/uORB/topics/differential_pressure.h +++ b/src/modules/uORB/topics/differential_pressure.h @@ -54,8 +54,9 @@ struct differential_pressure_s { uint64_t timestamp; /**< microseconds since system boot, needed to integrate */ uint64_t error_count; - float differential_pressure_pa; /**< Differential pressure reading */ - float max_differential_pressure_pa; /**< Maximum differential pressure reading */ + float differential_pressure_pa; /**< Differential pressure reading */ + float differential_pressure_filtered_pa; /**< Low pass filtered differential pressure reading */ + float max_differential_pressure_pa; /**< Maximum differential pressure reading */ float voltage; /**< Voltage from analog airspeed sensors (voltage divider already compensated) */ float temperature; /**< Temperature provided by sensor */ |