Rev 35 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 35 | Rev 39 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | void MotorRegler(void); |
27 | void MotorRegler(void); |
28 | void SendMotorData(void); |
28 | void SendMotorData(void); |
29 | void CalibrierMittelwert(void); |
29 | void CalibrierMittelwert(void); |
30 | void Mittelwert(void); |
30 | void Mittelwert(void); |
31 | void SetNeutral(void); |
31 | void SetNeutral(void); |
- | 32 | void Piep(unsigned char Anzahl); |
|
- | 33 | void DefaultKonstanten(void); |
|
- | 34 | void DefaultKonstanten1(void); |
|
- | 35 | void DefaultKonstanten2(void); |
|
Line -... | Line 36... | ||
- | 36 | ||
- | 37 | extern int StickNick,StickRoll,StickGier; |
|
- | 38 | extern char MotorenEin; |
|
- | 39 | extern int Poti1, Poti2, Poti3, Poti4; |
|
- | 40 | extern volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count; |
|
- | 41 | ||
32 | 42 | /* |
|
33 | unsigned char h,m,s; |
43 | unsigned char h,m,s; |
34 | volatile unsigned char Timeout ; |
44 | volatile unsigned char Timeout ; |
35 | unsigned char CosinusNickWinkel, CosinusRollWinkel; |
45 | unsigned char CosinusNickWinkel, CosinusRollWinkel; |
36 | volatile long IntegralNick,IntegralNick2; |
46 | volatile long IntegralNick,IntegralNick2; |
37 | volatile long IntegralRoll,IntegralRoll2; |
47 | volatile long IntegralRoll,IntegralRoll2; |
38 | volatile long Integral_Gier; |
48 | volatile long Integral_Gier; |
39 | volatile long Mess_IntegralNick,Mess_IntegralNick2; |
49 | volatile long Mess_IntegralNick,Mess_IntegralNick2; |
40 | volatile long Mess_IntegralRoll,Mess_IntegralRoll2; |
50 | volatile long Mess_IntegralRoll,Mess_IntegralRoll2; |
41 | volatile long Mess_Integral_Gier; |
51 | volatile long Mess_Integral_Gier; |
42 | volatile int DiffNick,DiffRoll; |
- | |
43 | extern int Poti1, Poti2, Poti3, Poti4; |
- | |
44 | volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count; |
52 | volatile int DiffNick,DiffRoll; |
45 | unsigned char MotorWert[5]; |
53 | unsigned char MotorWert[5]; |
46 | volatile unsigned char SenderOkay; |
- | |
47 | int StickNick,StickRoll,StickGier; |
54 | volatile unsigned char SenderOkay; |
48 | char MotorenEin; |
- | |
- | 55 | */ |
|
Line 49... | Line 56... | ||
49 | extern void DefaultKonstanten(void); |
56 | |
50 | 57 | ||
51 | #define STRUCT_PARAM_LAENGE 58 |
58 | #define STRUCT_PARAM_LAENGE 58 |
52 | struct mk_param_struct |
59 | struct mk_param_struct |