Firmware
Classes | Macros
drv_gyro.h File Reference

Gyroscope driver interface. More...

#include <stdint.h>
#include <sys/ioctl.h>
#include "drv_sensor.h"
#include "drv_orb_dev.h"
#include <uORB/topics/sensor_gyro.h>

Go to the source code of this file.

Classes

struct  gyro_calibration_s
 gyro scaling factors; Vout = (Vin * Vscale) + Voffset More...
 

Macros

#define GYRO_BASE_DEVICE_PATH   "/dev/gyro"
 
#define _GYROIOCBASE   (0x2300)
 
#define _GYROIOC(_n)   (_PX4_IOC(_GYROIOCBASE, _n))
 
#define GYROIOCSSCALE   _GYROIOC(4)
 set the gyro scaling constants to (arg)
 

Detailed Description

Gyroscope driver interface.