Rev 1775 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1775 | Rev 1821 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* |
1 | /* |
2 | #ifndef _ENC03_FC13_H |
2 | #ifndef _ENC03_FC13_H |
3 | #define _ENC03_FC13_H |
3 | #define _ENC03_FC13_H |
Line 4... | Line 4... | ||
4 | 4 | ||
5 | #include "sensors.h" |
5 | #include "sensors.h" |
6 | / * |
6 | / * |
7 | * Configuration for the ENC-03 gyros and oriented and wired on FC 1.3 (with DAC). |
7 | * Configuration for the ENC-03 gyros and oriented and wired on FC 1.3 (with DAC). |
Line 8... | Line 8... | ||
8 | * / |
8 | * / |
9 | 9 | ||
Line 10... | Line 10... | ||
10 | #define GYRO_HW_NAME "ENC" |
10 | #define GYRO_HW_NAME "ENC" |
11 | #define GYRO_HW_FACTOR 1.304f |
11 | #define GYRO_HW_FACTOR 1.304f |
12 | 12 | ||
13 | / * |
13 | / * |
14 | * Correction factor - determined experimentally: Hold the copter in the hand, and turn it 90 degrees. |
14 | * 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. |
15 | * If AnglePitch or AngleRoll in debug in MK-Tool changes by x degrees, multiply the value here by x/90. |
16 | * If the hardware related contants are set correctly, flight should be OK without bothering to |
16 | * If the hardware related contants are set correctly, flight should be OK without bothering to |
Line 17... | Line 17... | ||
17 | * make any adjustments here. It is only for luxury. |
17 | * make any adjustments here. It is only for luxury. |
18 | * / |
18 | * / |
19 | #define GYRO_PITCHROLL_CORRECTION 1.11f |
19 | #define GYRO_PITCHROLL_CORRECTION 1.11f |
20 | 20 | ||
21 | / * |
21 | / * |
22 | * Same for yaw. |
22 | * Same for yaw. |