diff options
Diffstat (limited to 'src/drivers/drv_gyro.h')
-rw-r--r-- | src/drivers/drv_gyro.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/drivers/drv_gyro.h b/src/drivers/drv_gyro.h index 122d20415..1e8993d34 100644 --- a/src/drivers/drv_gyro.h +++ b/src/drivers/drv_gyro.h @@ -44,33 +44,12 @@ #include <sys/ioctl.h> #include "drv_sensor.h" -#include "drv_orb_dev.h" #define GYRO_BASE_DEVICE_PATH "/dev/gyro" #define GYRO0_DEVICE_PATH "/dev/gyro0" #define GYRO1_DEVICE_PATH "/dev/gyro1" #define GYRO2_DEVICE_PATH "/dev/gyro2" -/** - * gyro report structure. Reads from the device must be in multiples of this - * structure. - */ -struct gyro_report { - uint64_t timestamp; - uint64_t error_count; - 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 */ struct gyro_scale { float x_offset; @@ -82,11 +61,6 @@ struct gyro_scale { }; /* - * ObjDev tag for raw gyro data. - */ -ORB_DECLARE(sensor_gyro); - -/* * ioctl() definitions */ |