diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 17:23:34 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 17:23:34 +0200 |
commit | 6319ec2036c52f39a6fded6480836fe79e3ba35f (patch) | |
tree | 83135f106bc37f01811f200bb4d49b191a575ce2 | |
parent | 17082db97e493959933073f5c02177bf53256a88 (diff) | |
download | px4-firmware-6319ec2036c52f39a6fded6480836fe79e3ba35f.tar.gz px4-firmware-6319ec2036c52f39a6fded6480836fe79e3ba35f.tar.bz2 px4-firmware-6319ec2036c52f39a6fded6480836fe79e3ba35f.zip |
Add celsius air temperature field to airspeed
-rw-r--r-- | src/modules/uORB/topics/airspeed.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/airspeed.h b/src/modules/uORB/topics/airspeed.h index a3da3758f..d2ee754cd 100644 --- a/src/modules/uORB/topics/airspeed.h +++ b/src/modules/uORB/topics/airspeed.h @@ -52,9 +52,10 @@ * Airspeed */ struct airspeed_s { - uint64_t timestamp; /**< microseconds since system boot, needed to integrate */ + uint64_t timestamp; /**< microseconds since system boot, needed to integrate */ float indicated_airspeed_m_s; /**< indicated airspeed in meters per second, -1 if unknown */ - float true_airspeed_m_s; /**< true airspeed in meters per second, -1 if unknown */ + float true_airspeed_m_s; /**< true airspeed in meters per second, -1 if unknown */ + float air_temperature_celsius; /**< air temperature in degrees celsius, -1000 if unknown */ }; /** |