Subversion Repositories FlightCtrl

Rev

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

Rev 2018 Rev 2020
Line 309... Line 309...
309
    mixerMatrix.motor[i][MIX_THROTTLE] = i < 4 ? 64 : 0;
309
    mixerMatrix.motor[i][MIX_THROTTLE] = i < 4 ? 64 : 0;
310
    mixerMatrix.motor[i][MIX_PITCH] = 0;
310
    mixerMatrix.motor[i][MIX_PITCH] = 0;
311
    mixerMatrix.motor[i][MIX_ROLL] = 0;
311
    mixerMatrix.motor[i][MIX_ROLL] = 0;
312
    mixerMatrix.motor[i][MIX_YAW] = 0;
312
    mixerMatrix.motor[i][MIX_YAW] = 0;
313
  }
313
  }
-
 
314
  /*
314
  // default = Quadro
315
  // default = Quadro
315
  mixerMatrix.motor[0][MIX_PITCH] = +64;
316
  mixerMatrix.motor[0][MIX_PITCH] = +64;
316
  mixerMatrix.motor[0][MIX_YAW] = +64;
317
  mixerMatrix.motor[0][MIX_YAW] = +64;
317
  mixerMatrix.motor[1][MIX_PITCH] = -64;
318
  mixerMatrix.motor[1][MIX_PITCH] = -64;
318
  mixerMatrix.motor[1][MIX_YAW] = +64;
319
  mixerMatrix.motor[1][MIX_YAW] = +64;
319
  mixerMatrix.motor[2][MIX_ROLL] = -64;
320
  mixerMatrix.motor[2][MIX_ROLL] = -64;
320
  mixerMatrix.motor[2][MIX_YAW] = -64;
321
  mixerMatrix.motor[2][MIX_YAW] = -64;
321
  mixerMatrix.motor[3][MIX_ROLL] = +64;
322
  mixerMatrix.motor[3][MIX_ROLL] = +64;
322
  mixerMatrix.motor[3][MIX_YAW] = -64;
323
  mixerMatrix.motor[3][MIX_YAW] = -64;
323
  memcpy(mixerMatrix.name, "Quadro\0", 7);
324
  memcpy(mixerMatrix.name, "Quadro\0", 7);
-
 
325
  */
-
 
326
 
-
 
327
  // default = X
-
 
328
  mixerMatrix.motor[0][MIX_PITCH] = +45;
-
 
329
  mixerMatrix.motor[0][MIX_ROLL]  = +45;
-
 
330
  mixerMatrix.motor[0][MIX_YAW]   = +64;
-
 
331
 
-
 
332
  mixerMatrix.motor[1][MIX_PITCH] = -45;
-
 
333
  mixerMatrix.motor[1][MIX_ROLL]  = -45;
-
 
334
  mixerMatrix.motor[1][MIX_YAW]   = +64;
-
 
335
 
-
 
336
  mixerMatrix.motor[2][MIX_PITCH] = +45;
-
 
337
  mixerMatrix.motor[2][MIX_ROLL]  = -45;
-
 
338
  mixerMatrix.motor[2][MIX_YAW]   = -64;
-
 
339
 
-
 
340
  mixerMatrix.motor[3][MIX_PITCH] = -45;
-
 
341
  mixerMatrix.motor[3][MIX_ROLL]  = +45;
-
 
342
  mixerMatrix.motor[3][MIX_YAW]   = -64;
-
 
343
 
-
 
344
  memcpy(mixerMatrix.name, "X\0", 7);
324
}
345
}
Line 325... Line 346...
325
 
346
 
326
/***************************************************/
347
/***************************************************/
327
/*    Default Values for R/C Channels              */
348
/*    Default Values for R/C Channels              */