diff options
author | Andrew Tridgell <tridge@samba.org> | 2014-02-13 14:25:52 +1100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 13:17:39 +0200 |
commit | cdec5e1d052b587a2e2a5d9d3dfef0bc507cc5b9 (patch) | |
tree | d697e601d8457bcef7de917bc7ffad55c6b44ec5 /src/modules/uORB/topics/differential_pressure.h | |
parent | 9719af623d92ceab0c5eebe21906b4d5cf515682 (diff) | |
download | px4-firmware-cdec5e1d052b587a2e2a5d9d3dfef0bc507cc5b9.tar.gz px4-firmware-cdec5e1d052b587a2e2a5d9d3dfef0bc507cc5b9.tar.bz2 px4-firmware-cdec5e1d052b587a2e2a5d9d3dfef0bc507cc5b9.zip |
Included raw differential pressure field
Diffstat (limited to 'src/modules/uORB/topics/differential_pressure.h')
-rw-r--r-- | src/modules/uORB/topics/differential_pressure.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/uORB/topics/differential_pressure.h b/src/modules/uORB/topics/differential_pressure.h index ff88b04c6..01e14cda9 100644 --- a/src/modules/uORB/topics/differential_pressure.h +++ b/src/modules/uORB/topics/differential_pressure.h @@ -52,13 +52,14 @@ * Differential pressure. */ struct differential_pressure_s { - uint64_t timestamp; /**< microseconds since system boot, needed to integrate */ - uint64_t error_count; + uint64_t timestamp; /**< Microseconds since system boot, needed to integrate */ + uint64_t error_count; /**< Number of errors detected by driver */ float differential_pressure_pa; /**< Differential pressure reading */ + float differential_pressure_raw_pa; /**< Raw differential pressure reading (may be negative) */ 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, -1000.0f if unknown */ + float voltage; /**< Voltage from analog airspeed sensors (voltage divider already compensated) */ + float temperature; /**< Temperature provided by sensor, -1000.0f if unknown */ }; |