Rev 513 | Rev 717 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 513 | Rev 693 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | Flight Control |
2 | Flight Control |
3 | #######################################################################################*/ |
3 | #######################################################################################*/ |
Line 4... | Line 4... | ||
4 | 4 | ||
5 | #ifndef _FC_H |
5 | #ifndef _FC_H |
- | 6 | #define _FC_H |
|
Line 6... | Line 7... | ||
6 | #define _FC_H |
7 | #define GIER_GRAD_FAKTOR 1300L // Abhängigkeit wzischen GyroIntegral und Winkel |
7 | 8 | ||
8 | extern volatile unsigned int I2CTimeout; |
9 | extern volatile unsigned int I2CTimeout; |
9 | extern unsigned char Sekunde,Minute; |
10 | extern unsigned char Sekunde,Minute; |
10 | extern volatile long IntegralNick,IntegralNick2; |
11 | extern long IntegralNick,IntegralNick2; |
11 | extern volatile long IntegralRoll,IntegralRoll2; |
12 | extern long IntegralRoll,IntegralRoll2; |
12 | extern volatile long Mess_IntegralNick,Mess_IntegralNick2; |
13 | extern long Mess_IntegralNick,Mess_IntegralNick2; |
13 | extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2; |
14 | extern long Mess_IntegralRoll,Mess_IntegralRoll2; |
14 | extern volatile long IntegralAccNick,IntegralAccRoll; |
15 | extern long IntegralAccNick,IntegralAccRoll; |
15 | extern volatile long Mess_Integral_Hoch; |
16 | extern volatile long Mess_Integral_Hoch; |
16 | extern volatile long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2; |
17 | extern long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2; |
17 | extern volatile int KompassValue; |
18 | extern volatile int KompassValue; |
18 | extern volatile int KompassStartwert; |
19 | extern volatile int KompassStartwert; |
19 | extern volatile int KompassRichtung; |
20 | extern volatile int KompassRichtung; |
Line 38... | Line 39... | ||
38 | void DefaultKonstanten2(void); |
39 | void DefaultKonstanten2(void); |
Line 39... | Line 40... | ||
39 | 40 | ||
40 | extern unsigned char h,m,s; |
41 | extern unsigned char h,m,s; |
41 | extern volatile unsigned char Timeout ; |
42 | extern volatile unsigned char Timeout ; |
42 | extern unsigned char CosinusNickWinkel, CosinusRollWinkel; |
- | |
43 | extern volatile long IntegralNick,IntegralNick2; |
- | |
44 | extern volatile long IntegralRoll,IntegralRoll2; |
- | |
45 | extern volatile long Integral_Gier; |
- | |
46 | extern volatile long Mess_IntegralNick,Mess_IntegralNick2; |
- | |
47 | extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2; |
- | |
48 | extern volatile long Mess_Integral_Gier; |
43 | extern unsigned char CosinusNickWinkel, CosinusRollWinkel; |
49 | extern volatile int DiffNick,DiffRoll; |
44 | extern volatile int DiffNick,DiffRoll; |
50 | extern int Poti1, Poti2, Poti3, Poti4; |
45 | extern int Poti1, Poti2, Poti3, Poti4; |
51 | extern volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count; |
46 | extern volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count; |
52 | extern unsigned char MotorWert[5]; |
47 | extern unsigned char MotorWert[5]; |