Subversion Repositories FlightCtrl

Rev

Rev 1646 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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