Y4 Mixing

Post Reply
copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Y4 Mixing

Post by copterrichie »

Please Alex,

Can you include the following code for the Y4 Mixing? Please, Pretty Please? :)


Code: Select all

.
.
.
#define Y4
.
#elif defined(QUADP) || defined(QUADX) || defined(Y4)
.
#ifdef Y4 // Special Mix for V-Tail or Y4
      motor[0] = rcCommand[THROTTLE] + axisPID[PITCH] - axisPID[YAW]; //REAR_R
      motor[1] = rcCommand[THROTTLE] - axisPID[ROLL]; //FRONT_R
      motor[2] = rcCommand[THROTTLE] + axisPID[PITCH] + axisPID[YAW]; //REAR_L
      motor[3] = rcCommand[THROTTLE] + axisPID[ROLL]; //FRONT_L
    #endif
.
#elif defined(QUADX) || defined(Y4)
      serialize8(3);



The code works and here is a video of the copter with the code:

http://vimeo.com/20325999

Thank you so Very Much.

Richard

Post Reply