Subversion Repositories FlightCtrl

Rev

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

Rev 470 Rev 477
Line 55... Line 55...
55
 
55
 
Line 56... Line 56...
56
#include "main.h"
56
#include "main.h"
57
 
57
 
58
unsigned char h,m,s;
58
unsigned char h,m,s;
59
volatile unsigned char Timeout = 0;
59
volatile unsigned char Timeout = 0;
60
volatile int MesswertNick,MesswertRoll,MesswertGier;
60
int MesswertNick,MesswertRoll,MesswertGier;
61
volatile int AdNeutralNick = 0,AdNeutralRoll = 0,AdNeutralGier = 0;
-
 
-
 
61
volatile int AdNeutralNick = 0,AdNeutralRoll = 0,AdNeutralGier = 0;
62
volatile int Mittelwert_AccNick, Mittelwert_AccRoll,Mittelwert_AccHoch;
62
int Mittelwert_AccNick, Mittelwert_AccRoll,Mittelwert_AccHoch;
63
unsigned char CosinusNickWinkel = 0, CosinusRollWinkel = 0;
63
 
64
volatile long IntegralNick = 0,IntegralNick2 = 0;
64
long IntegralNick = 0,IntegralNick2 = 0;
65
volatile long IntegralRoll = 0,IntegralRoll2 = 0;
65
long IntegralRoll = 0,IntegralRoll2 = 0;
66
volatile long Integral_Gier = 0;
66
long Integral_Gier = 0;
67
volatile long Mess_IntegralNick = 0,Mess_IntegralNick2 = 0;
67
volatile long Mess_IntegralNick = 0,Mess_IntegralNick2 = 0;
68
volatile long Mess_IntegralRoll = 0,Mess_IntegralRoll2 = 0;
68
volatile long Mess_IntegralRoll = 0,Mess_IntegralRoll2 = 0;
-
 
69
volatile long Mess_Integral_Gier = 0,Mess_Integral_Gier2 = 0;
69
volatile long Mess_Integral_Gier = 0,Mess_Integral_Gier2 = 0;
70
volatile long Mess_Integral_Hoch = 0;
70
volatile long Mess_Integral_Hoch = 0;
71
 
71
int  KompassValue = 0;
72
int KompassValue = 0;
72
int  KompassStartwert = 0;
73
int KompassStartwert = 0;
-
 
74
int KompassRichtung = 0;
73
int  KompassRichtung = 0;
75
uint8_t updKompass = 0;
74
uint8_t updKompass = 0;
76
 
75
unsigned char MAX_GAS,MIN_GAS;
77
unsigned char MAX_GAS,MIN_GAS;
Line 76... Line 78...
76
unsigned char Notlandung = 0;
78
unsigned char Notlandung = 0;
77
unsigned char HoehenReglerAktiv = 0;
79
unsigned char HoehenReglerAktiv = 0;
Line 78... Line 80...
78
 
80
 
79
float GyroFaktor;
81
float GyroFaktor;
80
float IntegralFaktor;
82
float IntegralFaktor;
81
 
83
 
82
volatile int  DiffNick,DiffRoll;
84
int DiffNick,DiffRoll;
83
int  Poti1 = 0, Poti2 = 0, Poti3 = 0, Poti4 = 0;
85
int Poti1 = 0, Poti2 = 0, Poti3 = 0, Poti4 = 0;
84
volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count;
86
volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links;
85
unsigned char MotorWert[5];
87
unsigned char MotorWert[5];