Subversion Repositories FlightCtrl

Rev

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

Rev 369 Rev 373
Line 49... Line 49...
49
volatile unsigned char SenderOkay;
49
volatile unsigned char SenderOkay;
50
int StickNick,StickRoll,StickGier;
50
int StickNick,StickRoll,StickGier;
51
char MotorenEin;
51
char MotorenEin;
52
extern void DefaultKonstanten(void);
52
extern void DefaultKonstanten(void);
Line 53... Line -...
53
 
-
 
-
 
53
 
54
#define  STRUCT_PARAM_LAENGE  58
54
 
55
struct mk_param_struct
55
struct mk_param_struct
56
 {
56
 {
57
   unsigned char Kanalbelegung[8];        // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
57
   unsigned char Kanalbelegung[8];        // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
58
   unsigned char GlobalConfig;            // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
58
   unsigned char GlobalConfig;            // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
Line 88... Line 88...
88
   unsigned char ServoNickCompInvert;    // Wert : 0-250     // Richtung Einfluss Gyro/Servo
88
   unsigned char ServoNickCompInvert;    // Wert : 0-250     // Richtung Einfluss Gyro/Servo
89
   unsigned char Reserved[7];
89
   unsigned char Reserved[7];
90
   char Name[12];
90
   char Name[12];
91
 };
91
 };
Line 92... Line 92...
92
 
92
 
93
typedef struct
93
struct acc_neutral_struct
94
{
94
{
95
        int X;
95
        int X;
96
        int Y;
96
        int Y;
97
        float Z;
97
        float Z;
Line 98... Line 98...
98
}acc_neutral_struct;
98
};
99
 
99
 
Line 100... Line 100...
100
extern acc_neutral_struct acc_neutral;
100
extern struct acc_neutral_struct acc_neutral;