Rev 2088 | Rev 2092 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2088 | Rev 2089 | ||
---|---|---|---|
Line 152... | Line 152... | ||
152 | staticParams.externalControl = 0; |
152 | staticParams.externalControl = 0; |
153 | staticParams.motorSmoothing = 0; |
153 | staticParams.motorSmoothing = 0; |
Line 154... | Line 154... | ||
154 | 154 | ||
155 | // IMU |
155 | // IMU |
156 | staticParams.gyroPIDFilterConstant = 1; |
- | |
157 | staticParams.gyroATTFilterConstant = 1; |
156 | staticParams.gyroPIDFilterConstant = 1; |
158 | staticParams.gyroDFilterConstant = 1; |
157 | staticParams.gyroDFilterConstant = 1; |
Line 159... | Line 158... | ||
159 | staticParams.accFilterConstant = 10; |
158 | staticParams.accFilterConstant = 10; |
160 | 159 | ||
Line 166... | Line 165... | ||
166 | // staticParams.zerothOrderCorrection = |
165 | // staticParams.zerothOrderCorrection = |
167 | // staticParams.driftCompDivider = |
166 | // staticParams.driftCompDivider = |
168 | // staticParams.driftCompLimit = |
167 | // staticParams.driftCompLimit = |
Line 169... | Line 168... | ||
169 | 168 | ||
170 | staticParams.dynamicStability = 50; |
169 | staticParams.dynamicStability = 50; |
171 | staticParams.zerothOrderCorrectionAccTolerance = 60; |
170 | staticParams.rateTolerance = 10; |
172 | staticParams.zerothOrderCorrectionControlTolerance = 60; |
171 | staticParams.yawRateFactor = 4; |
173 | staticParams.IFactor = 52; |
172 | staticParams.IFactor = 52; |
174 | staticParams.yawIFactor = 100; |
173 | staticParams.yawIFactor = 100; |
175 | staticParams.compassYawCorrection = 64; |
174 | staticParams.compassYawCorrection = 64; |
176 | staticParams.compassP = 50; |
175 | staticParams.compassP = 50; |
Line 200... | Line 199... | ||
200 | 199 | ||
201 | staticParams.outputDebugMask = 8; |
200 | staticParams.outputDebugMask = 8; |
Line 202... | Line 201... | ||
202 | staticParams.outputFlags = OUTPUTFLAGS_FLASH_0_AT_BEEP | OUTPUTFLAGS_FLASH_1_AT_BEEP | OUTPUTFLAGS_USE_ONBOARD_LEDS; |
201 | staticParams.outputFlags = OUTPUTFLAGS_FLASH_0_AT_BEEP | OUTPUTFLAGS_FLASH_1_AT_BEEP | OUTPUTFLAGS_USE_ONBOARD_LEDS; |
203 | - | ||
204 | staticParams.naviMode = 0; // free. |
- | |
205 | - | ||
206 | staticParams.maxControlActivity = 0; // temporary! |
202 | |
Line 207... | Line 203... | ||
207 | staticParams.maxAccVector = 80; |
203 | staticParams.naviMode = 0; // free. |
208 | } |
204 | } |
209 | 205 |