Rev 2140 | Rev 2142 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2140 | Rev 2141 | ||
---|---|---|---|
Line 135... | Line 135... | ||
135 | 135 | ||
136 | void IMUConfig_default(void) { |
136 | void IMUConfig_default(void) { |
137 | IMUConfig.gyroPIDFilterConstant = 10; |
137 | IMUConfig.gyroPIDFilterConstant = 10; |
138 | IMUConfig.gyroDFilterConstant = 1; |
138 | IMUConfig.gyroDFilterConstant = 1; |
139 | IMUConfig.rateTolerance = 120; |
139 | IMUConfig.rateTolerance = 120; |
140 | IMUConfig.gyroDWindowLength = 3; |
140 | IMUConfig.gyroDWindowLength = 8; |
141 | IMUConfig.gyroQuadrant = 4; |
141 | IMUConfig.gyroQuadrant = 4; |
142 | IMUConfig.imuReversedFlags = IMU_REVERSE_GYRO_PR; |
142 | IMUConfig.imuReversedFlags = IMU_REVERSE_GYRO_PR; |
Line 143... | Line 143... | ||
143 | } |
143 | } |
144 | 144 | ||
145 | /***************************************************/ |
145 | /***************************************************/ |
146 | /* Default Values for R/C Channels */ |
146 | /* Default Values for R/C Channels */ |
147 | /***************************************************/ |
147 | /***************************************************/ |
148 | void channelMap_default(void) { |
148 | void channelMap_default(void) { |
149 | channelMap.RCPolarity = 1; |
149 | channelMap.RCPolarity = 1; |
150 | channelMap.HWTrim = 10; |
150 | channelMap.HWTrim = 175; |
151 | channelMap.variableOffset = 131; |
151 | channelMap.variableOffset = 131; |
152 | channelMap.channels[CH_ELEVATOR] = 1; |
152 | channelMap.channels[CH_ELEVATOR] = 1; |
153 | channelMap.channels[CH_AILERONS] = 0; |
153 | channelMap.channels[CH_AILERONS] = 0; |