Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1775 | - | 1 | /* |
1821 | - | 2 | #ifndef _ENC03_FC13_H |
3 | #define _ENC03_FC13_H |
||
1612 | dongfang | 4 | |
1821 | - | 5 | #include "sensors.h" |
6 | / * |
||
1612 | dongfang | 7 | * Configuration for the ENC-03 gyros and oriented and wired on FC 1.3 (with DAC). |
1775 | - | 8 | * / |
1612 | dongfang | 9 | |
1821 | - | 10 | #define GYRO_HW_NAME "ENC" |
11 | #define GYRO_HW_FACTOR 1.304f |
||
1612 | dongfang | 12 | |
1821 | - | 13 | / * |
1612 | dongfang | 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. |
||
16 | * 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. |
||
1775 | - | 18 | * / |
1821 | - | 19 | #define GYRO_PITCHROLL_CORRECTION 1.11f |
1612 | dongfang | 20 | |
1821 | - | 21 | / * |
1612 | dongfang | 22 | * Same for yaw. |
1775 | - | 23 | * / |
1821 | - | 24 | #define GYRO_YAW_CORRECTION 1.28f |
25 | #endif |
||
26 | */ |