Subversion Repositories FlightCtrl

Rev

Rev 2136 | Rev 2138 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2136 Rev 2137
Line 83... Line 83...
83
void setOtherDefaults(void) {
83
void setOtherDefaults(void) {
84
  // Control
84
  // Control
85
  staticParams.externalControl = 0;
85
  staticParams.externalControl = 0;
86
  staticParams.IFactor = 52;
86
  staticParams.IFactor = 52;
Line 87... Line 87...
87
 
87
 
88
  staticParams.airspeedCorrection = 100;
88
  staticParams.airspeedCorrection = 1;
Line 89... Line 89...
89
  staticParams.isFlyingThreshold = 100;
89
  staticParams.isFlyingThreshold = 100;
90
 
90
 
91
  // Servos
91
  // Servos
Line 156... Line 156...
156
/***************************************************/
156
/***************************************************/
157
/*    Default Values for R/C Channels              */
157
/*    Default Values for R/C Channels              */
158
/***************************************************/
158
/***************************************************/
159
void channelMap_default(void) {
159
void channelMap_default(void) {
160
  channelMap.RCPolarity = 1;
160
  channelMap.RCPolarity = 1;
161
  channelMap.HWTrim = 166;
161
  channelMap.HWTrim = 110;
162
  channelMap.variableOffset = 131;
162
  channelMap.variableOffset = 131;
163
  channelMap.channels[CH_ELEVATOR] = 1;
163
  channelMap.channels[CH_ELEVATOR] = 1;
164
  channelMap.channels[CH_AILERONS] = 0;
164
  channelMap.channels[CH_AILERONS] = 0;
165
  channelMap.channels[CH_THROTTLE] = 2;
165
  channelMap.channels[CH_THROTTLE] = 2;
166
  channelMap.channels[CH_RUDDER]   = 3;
166
  channelMap.channels[CH_RUDDER]   = 3;