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, 7 insertions, 1 deletions
diff --git a/apps/drivers/drv_gyro.h b/apps/drivers/drv_gyro.h
index 82e23f62a..2f1dab6ba 100644
--- a/apps/drivers/drv_gyro.h
+++ b/apps/drivers/drv_gyro.h
@@ -50,10 +50,16 @@
* structure.
*/
struct gyro_report {
+ uint64_t timestamp;
float x;
float y;
float z;
- uint64_t timestamp;
+ float range_rad_s;
+ float scaling;
+
+ int16_t x_raw;
+ int16_t y_raw;
+ int16_t z_raw;
};
/** gyro scaling factors; Vout = (Vin * Vscale) + Voffset */