Rev 2089 | Rev 2095 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2089 | Rev 2092 | ||
---|---|---|---|
Line 112... | Line 112... | ||
112 | typedef struct { |
112 | typedef struct { |
113 | uint8_t bitmask; |
113 | uint8_t bitmask; |
114 | uint8_t timing; |
114 | uint8_t timing; |
115 | } output_flash_t; |
115 | } output_flash_t; |
Line 116... | Line -... | ||
116 | - | ||
117 | // values above 250 representing poti1 to poti4 |
116 | |
118 | typedef struct { |
- | |
119 | // Global bitflags |
- | |
120 | uint8_t bitConfig; // see upper defines for bitcoding |
- | |
121 | - | ||
122 | // IMU |
117 | typedef struct { |
123 | uint8_t gyroQuadrant; |
118 | uint8_t gyroQuadrant; |
124 | uint8_t accQuadrant; |
119 | uint8_t accQuadrant; |
Line 125... | Line 120... | ||
125 | uint8_t imuReversedFlags; |
120 | uint8_t imuReversedFlags; |
126 | 121 | ||
127 | uint8_t gyroPIDFilterConstant; |
122 | uint8_t gyroPIDFilterConstant; |
Line 128... | Line 123... | ||
128 | uint8_t gyroDFilterConstant; |
123 | uint8_t gyroDFilterConstant; |
129 | uint8_t accFilterConstant; |
124 | uint8_t accFilterConstant; |
130 | - | ||
Line -... | Line 125... | ||
- | 125 | ||
131 | uint8_t zerothOrderCorrection; |
126 | uint8_t zerothOrderCorrection; |
132 | uint8_t rateTolerance; |
127 | uint8_t rateTolerance; |
- | 128 | ||
- | 129 | uint8_t yawRateFactor; |
|
- | 130 | uint8_t driftCompDivider; // 1/k (Koppel_ACC_Wirkung) |
|
- | 131 | uint8_t driftCompLimit; // limit for gyrodrift compensation |
|
- | 132 | } IMUConfig_t; |
|
- | 133 | ||
- | 134 | extern IMUConfig_t IMUConfig; |
|
- | 135 | ||
Line 133... | Line 136... | ||
133 | uint8_t yawRateFactor; |
136 | // values above 250 representing poti1 to poti4 |
134 | 137 | typedef struct { |
|
135 | uint8_t driftCompDivider; // 1/k (Koppel_ACC_Wirkung) |
138 | // Global bitflags |
Line 273... | Line 276... | ||
273 | extern uint8_t CPUType; |
276 | extern uint8_t CPUType; |
Line 274... | Line 277... | ||
274 | 277 | ||
275 | extern volatile uint8_t MKFlags; |
278 | extern volatile uint8_t MKFlags; |
Line -... | Line 279... | ||
- | 279 | extern uint16_t isFlying; |
|
276 | extern uint16_t isFlying; |
280 | |
277 | 281 | void IMUConfig_default(void); |
|
278 | void channelMap_default(void); |
282 | void channelMap_default(void); |
Line 279... | Line 283... | ||
279 | void paramSet_default(uint8_t setnumber); |
283 | void paramSet_default(uint8_t setnumber); |