Rev 1645 |
Blame |
Last modification |
View Log
| RSS feed
#ifndef _ADXRS610_H
#define _ADXRS610_H
#include "sensors.h"
/*
* Configuration for the ADXR610 gyros, as they are oriented and wired on the FC 2.0 ME board.
*/
#define GYRO_HW_NAME "ADXR"
#define GYRO_HW_FACTOR 1.2288f
/*
* Correction factor - determined experimentally: Hold the copter in the hand, and turn it 90 degrees.
* If AnglePitch or AngleRoll in debug in MK-Tool changes by x degrees, multiply the value here by x/90.
* If the hardware related contants are set correctly, flight should be OK without bothering to
* make any adjustments here. It is only for luxury.
*/
#define GYRO_PITCHROLL_CORRECTION 1.0f
/*
* Same for yaw.
*/
#define GYRO_YAW_CORRECTION 1.0f
#endif