Subversion Repositories FlightCtrl

Rev

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

Rev 2158 Rev 2159
Line 241... Line 241...
241
  for (i = 0; i < MAX_MOTORS; i++) {
241
  for (i = 0; i < MAX_MOTORS; i++) {
242
    motorMixer.matrix[i][MIX_THROTTLE] = i < 4 ? 64 : 0;
242
    motorMixer.matrix[i][MIX_THROTTLE] = i < 4 ? 64 : 0;
243
    motorMixer.matrix[i][MIX_PITCH] = 0;
243
    motorMixer.matrix[i][MIX_PITCH] = 0;
244
    motorMixer.matrix[i][MIX_ROLL] = 0;
244
    motorMixer.matrix[i][MIX_ROLL] = 0;
245
    motorMixer.matrix[i][MIX_YAW] = 0;
245
    motorMixer.matrix[i][MIX_YAW] = 0;
-
 
246
    motorMixer.matrix[i][MIX_OPPOSITE_MOTOR] = (uint8_t)-1;
246
  }
247
  }
247
  // default = Quadro
248
  // default = Quadro
248
  motorMixer.matrix[0][MIX_PITCH] = +64;
249
  motorMixer.matrix[0][MIX_PITCH] = +64;
249
  motorMixer.matrix[0][MIX_YAW] = +64;
250
  motorMixer.matrix[0][MIX_YAW] = +64;
250
  motorMixer.matrix[0][MIX_OPPOSITE_MOTOR] = 1;
251
  motorMixer.matrix[0][MIX_OPPOSITE_MOTOR] = 1;