aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/sensor_combined.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-17 07:33:50 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-17 07:33:50 +0200
commitf89062fe3bf56aef23c2ea1a29ae3468694344fa (patch)
treef6d2ef6e950d21aa1a3baa1fdf58f19a79f41a82 /src/modules/uORB/topics/sensor_combined.h
parent65c952e134daa7c505026ddf2139148fe3092161 (diff)
parent7705a24f7227035d5932a1288e26ce75cec07fdf (diff)
downloadpx4-firmware-f89062fe3bf56aef23c2ea1a29ae3468694344fa.tar.gz
px4-firmware-f89062fe3bf56aef23c2ea1a29ae3468694344fa.tar.bz2
px4-firmware-f89062fe3bf56aef23c2ea1a29ae3468694344fa.zip
Merge pull request #1186 from PX4/logging
Multi-instance handling for sensors
Diffstat (limited to 'src/modules/uORB/topics/sensor_combined.h')
-rw-r--r--src/modules/uORB/topics/sensor_combined.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/sensor_combined.h b/src/modules/uORB/topics/sensor_combined.h
index fa3367de9..06dfcdab3 100644
--- a/src/modules/uORB/topics/sensor_combined.h
+++ b/src/modules/uORB/topics/sensor_combined.h
@@ -95,6 +95,30 @@ struct sensor_combined_s {
float magnetometer_cuttoff_freq_hz; /**< Internal analog low pass frequency of sensor */
uint64_t magnetometer_timestamp; /**< Magnetometer timestamp */
+ int16_t gyro1_raw[3]; /**< Raw sensor values of angular velocity */
+ float gyro1_rad_s[3]; /**< Angular velocity in radian per seconds */
+ uint64_t gyro1_timestamp; /**< Gyro timestamp */
+
+ int16_t accelerometer1_raw[3]; /**< Raw acceleration in NED body frame */
+ float accelerometer1_m_s2[3]; /**< Acceleration in NED body frame, in m/s^2 */
+ uint64_t accelerometer1_timestamp; /**< Accelerometer timestamp */
+
+ int16_t magnetometer1_raw[3]; /**< Raw magnetic field in NED body frame */
+ float magnetometer1_ga[3]; /**< Magnetic field in NED body frame, in Gauss */
+ uint64_t magnetometer1_timestamp; /**< Magnetometer timestamp */
+
+ int16_t gyro2_raw[3]; /**< Raw sensor values of angular velocity */
+ float gyro2_rad_s[3]; /**< Angular velocity in radian per seconds */
+ uint64_t gyro2_timestamp; /**< Gyro timestamp */
+
+ int16_t accelerometer2_raw[3]; /**< Raw acceleration in NED body frame */
+ float accelerometer2_m_s2[3]; /**< Acceleration in NED body frame, in m/s^2 */
+ uint64_t accelerometer2_timestamp; /**< Accelerometer timestamp */
+
+ int16_t magnetometer2_raw[3]; /**< Raw magnetic field in NED body frame */
+ float magnetometer2_ga[3]; /**< Magnetic field in NED body frame, in Gauss */
+ uint64_t magnetometer2_timestamp; /**< Magnetometer timestamp */
+
float baro_pres_mbar; /**< Barometric pressure, already temp. comp. */
float baro_alt_meter; /**< Altitude, already temp. comp. */
float baro_temp_celcius; /**< Temperature in degrees celsius */