Subversion Repositories FlightCtrl

Rev

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

Rev 935 Rev 936
Line 5... Line 5...
5
 
5
 
6
#define EEPROM_ADR_PARAM_BEGIN                  0
6
#define EEPROM_ADR_PARAM_BEGIN                  0
7
#define PID_VERSION          1 // byte
7
#define PID_VERSION          1 // byte
8
#define PID_ACTIVE_SET       2 // byte
8
#define PID_ACTIVE_SET       2 // byte
9
#define PID_PRESSURE_OFFSET  3 // byte
9
#define PID_PRESSURE_OFFSET  3 // byte
10
#define PID_ACC_NICK        4 // word
10
#define PID_ACC_NICK         4 // word
11
#define PID_ACC_ROLL         6 // word
11
#define PID_ACC_ROLL         6 // word
Line 12... Line 12...
12
#define PID_ACC_Z            8 // word
12
#define PID_ACC_Z            8 // word
13
 
13
 
Line 37... Line 37...
37
#define CFG_LOOP_DOWN           0x02
37
#define CFG_LOOP_DOWN           0x02
38
#define CFG_LOOP_LEFT           0x04
38
#define CFG_LOOP_LEFT           0x04
39
#define CFG_LOOP_RIGHT          0x08
39
#define CFG_LOOP_RIGHT          0x08
Line 40... Line 40...
40
 
40
 
41
// defines for lookup mk_param_struct.ChannelAssignment
41
// defines for lookup mk_param_struct.ChannelAssignment
42
#define CH_NICK    0
42
#define CH_NICK         0
43
#define CH_ROLL         1
43
#define CH_ROLL         1
44
#define CH_GAS  2
44
#define CH_GAS          2
45
#define CH_YAW          3
45
#define CH_YAW          3
46
#define CH_POTI1        4
46
#define CH_POTI1        4
47
#define CH_POTI2        5
47
#define CH_POTI2        5
48
#define CH_POTI3        6
48
#define CH_POTI3        6
Line 49... Line 49...
49
#define CH_POTI4        7
49
#define CH_POTI4        7
Line 50... Line 50...
50
 
50
 
51
#define EEPARAM_VERSION 70 // is count up, if EE_Paramater stucture has changed (compatibility)
51
#define EEPARAM_VERSION 71 // is count up, if EE_Paramater stucture has changed (compatibility)
52
 
52
 
53
// values above 250 representing poti1 to poti4
53
// values above 250 representing poti1 to poti4
Line 96... Line 96...
96
   uint8_t DynamicStability;
96
   uint8_t DynamicStability;
97
   uint8_t UserParam5;             // Wert : 0-250
97
   uint8_t UserParam5;             // Wert : 0-250
98
   uint8_t UserParam6;             // Wert : 0-250
98
   uint8_t UserParam6;             // Wert : 0-250
99
   uint8_t UserParam7;             // Wert : 0-250
99
   uint8_t UserParam7;             // Wert : 0-250
100
   uint8_t UserParam8;             // Wert : 0-250
100
   uint8_t UserParam8;             // Wert : 0-250
-
 
101
   uint8_t J16Bitmask;                     // for the J16 Output
-
 
102
   uint8_t J16Timing;                      // for the J16 Output
-
 
103
   uint8_t J17Bitmask;                     // for the J17 Output
-
 
104
   uint8_t J17Timing;                      // for the J17 Output
-
 
105
   uint8_t NaviGpsModeControl;     // Parameters for the Naviboard
-
 
106
   uint8_t NaviGpsGain;
-
 
107
   uint8_t NaviGpsP;
-
 
108
   uint8_t NaviGpsI;
-
 
109
   uint8_t NaviGpsD;
-
 
110
   uint8_t NaviGpsACC;
-
 
111
   uint8_t NaviGpsMinSat;
-
 
112
   uint8_t NaviStickThreshold;
-
 
113
   uint8_t ExternalControl;        // for serial Control
101
   uint8_t LoopConfig;             // see upper defines for bitcoding
114
   uint8_t LoopConfig;             // see upper defines for bitcoding
102
   uint8_t ServoNickCompInvert;    // Wert : 0-250   0 oder 1  // WICHTIG!!! am Ende lassen
115
   uint8_t ServoNickCompInvert;    // Wert : 0-250   0 oder 1  // WICHTIG!!! am Ende lassen
103
   uint8_t Reserved[4];
116
   uint8_t Reserved[4];
104
   int8_t Name[12];
117
   int8_t Name[12];
105
 } paramset_t;
118
 } paramset_t;