Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1775 - 1
/*
1612 dongfang 2
#ifndef _ADXRS610_H
3
#define _ADXRS610_H
4
 
5
#include "sensors.h"
1646 - 6
 
1775 - 7
/ *
1612 dongfang 8
 * Configuration for the ADXR610 gyros, as they are oriented and wired on the FC 2.0 ME board.
1775 - 9
 * /
1612 dongfang 10
 
11
#define GYRO_HW_NAME "ADXR"
12
#define GYRO_HW_FACTOR 1.2288f
13
 
1775 - 14
/ *
1612 dongfang 15
 * Correction factor - determined experimentally: Hold the copter in the hand, and turn it 90 degrees.
16
 * If AnglePitch or AngleRoll in debug in MK-Tool changes by x degrees, multiply the value here by x/90.
17
 * If the hardware related contants are set correctly, flight should be OK without bothering to
18
 * make any adjustments here. It is only for luxury.
1775 - 19
 * /
1612 dongfang 20
#define GYRO_PITCHROLL_CORRECTION 1.0f
21
 
1775 - 22
/ *
1612 dongfang 23
 * Same for yaw.
1775 - 24
 * /
1612 dongfang 25
#define GYRO_YAW_CORRECTION 1.0f
26
 
27
#endif
1775 - 28
*/