PX4 Firmware
PX4 Autopilot Software http://px4.io
|
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) More... | |
Gyroscope driver interface.
Definition in file drv_gyro.h.
#define _GYROIOC | ( | _n | ) | (_PX4_IOC(_GYROIOCBASE, _n)) |
Definition at line 68 of file drv_gyro.h.
#define _GYROIOCBASE (0x2300) |
Definition at line 67 of file drv_gyro.h.
#define GYRO_BASE_DEVICE_PATH "/dev/gyro" |
Definition at line 49 of file drv_gyro.h.
Referenced by do_gyro_calibration(), sensors::VotedSensorsUpdate::parametersUpdate(), PX4Gyroscope::print_status(), PX4Gyroscope::PX4Gyroscope(), and PX4Gyroscope::~PX4Gyroscope().
#define GYROIOCSSCALE _GYROIOC(4) |
set the gyro scaling constants to (arg)
Definition at line 71 of file drv_gyro.h.
Referenced by sensors::VotedSensorsUpdate::applyGyroCalibration(), do_gyro_calibration(), and PX4Gyroscope::ioctl().