Subversion Repositories FlightCtrl

Rev

Rev 1912 | Rev 1921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1912 Rev 1916
Line 8... Line 8...
8
//#define GIER_GRAD_FAKTOR 1160L
8
//#define GIER_GRAD_FAKTOR 1160L
9
extern long GIER_GRAD_FAKTOR; // Abhängigkeit zwischen GyroIntegral und Winkel
9
extern long GIER_GRAD_FAKTOR; // Abhängigkeit zwischen GyroIntegral und Winkel
10
#define STICK_GAIN 4
10
#define STICK_GAIN 4
11
#define ACC_AMPLIFY    6
11
#define ACC_AMPLIFY    6
Line 12... Line 12...
12
 
12
 
13
// FC STATUS FLAGS
13
// FC_StatusFlags
14
#define FC_STATUS_MOTOR_RUN                             0x01
14
#define FC_STATUS_MOTOR_RUN                             0x01
15
#define FC_STATUS_FLY                                   0x02
15
#define FC_STATUS_FLY                                   0x02
16
#define FC_STATUS_CALIBRATE                             0x04
16
#define FC_STATUS_CALIBRATE                             0x04
17
#define FC_STATUS_START                                 0x08
17
#define FC_STATUS_START                                 0x08
18
#define FC_STATUS_EMERGENCY_LANDING             0x10
18
#define FC_STATUS_EMERGENCY_LANDING             0x10
19
#define FC_STATUS_LOWBAT                                0x20
19
#define FC_STATUS_LOWBAT                                0x20
20
#define FC_STATUS_VARIO_TRIM_UP                 0x40
20
#define FC_STATUS_VARIO_TRIM_UP                 0x40
Line 21... Line 21...
21
#define FC_STATUS_VARIO_TRIM_DOWN               0x80
21
#define FC_STATUS_VARIO_TRIM_DOWN               0x80
22
 
22
 
23
// FC STATUS FLAGS2
23
// FC_StatusFlags2
-
 
24
#define FC_STATUS2_CAREFREE                 0x01
Line 24... Line 25...
24
#define FC_STATUS2_CAREFREE                 0x01
25
#define FC_STATUS2_ALTITUDE_CONTROL         0x02
25
#define FC_STATUS2_ALTITUDE_CONTROL         0x02
26
#define FC_STATUS2_RC_FAILSAVE_ACTIVE       0x04
Line 26... Line 27...
26
 
27
 
Line 109... Line 110...
109
//extern unsigned char Parameter_AchsGegenKopplung1;
110
//extern unsigned char Parameter_AchsGegenKopplung1;
110
extern unsigned char Parameter_J16Bitmask;             // for the J16 Output
111
extern unsigned char Parameter_J16Bitmask;             // for the J16 Output
111
extern unsigned char Parameter_J16Timing;              // for the J16 Output
112
extern unsigned char Parameter_J16Timing;              // for the J16 Output
112
extern unsigned char Parameter_J17Bitmask;             // for the J17 Output
113
extern unsigned char Parameter_J17Bitmask;             // for the J17 Output
113
extern unsigned char Parameter_J17Timing;              // for the J17 Output
114
extern unsigned char Parameter_J17Timing;              // for the J17 Output
-
 
115
extern unsigned char Parameter_GlobalConfig;
-
 
116
extern unsigned char Parameter_ExtraConfig;
114
extern signed char MixerTable[MAX_MOTORS][4];
117
extern signed char MixerTable[MAX_MOTORS][4];
115
extern const signed char sintab[31];
118
extern const signed char sintab[31];
116
#endif //_FC_H
119
#endif //_FC_H