aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_gyro.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drivers/drv_gyro.h')
-rw-r--r--apps/drivers/drv_gyro.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/drivers/drv_gyro.h b/apps/drivers/drv_gyro.h
index 9c34ac314..5c646f243 100644
--- a/apps/drivers/drv_gyro.h
+++ b/apps/drivers/drv_gyro.h
@@ -52,15 +52,17 @@
*/
struct gyro_report {
uint64_t timestamp;
- float x;
- float y;
- float z;
+ float x; /**< angular velocity in the NED X board axis in rad/s */
+ float y; /**< angular velocity in the NED Y board axis in rad/s */
+ float z; /**< angular velocity in the NED Z board axis in rad/s */
+ float temperature; /**< temperature in degrees celcius */
float range_rad_s;
float scaling;
int16_t x_raw;
int16_t y_raw;
int16_t z_raw;
+ int16_t temperature_raw;
};
/** gyro scaling factors; Vout = (Vin * Vscale) + Voffset */