//New Kipkool mixing for DiaLFonZo/Bledi VTail's //In config.h you must define that line in order to get the new mixing and rotations //#define MY_PRIVATE_MIXING "NewVTail.h" //There are two different mixing here, you can try the one you like the most. //Edited by Eric Nantel - DiaLFonZo - 21/01/2014 // D3----------D10 (Front) // -- // -- // D11----D9 (Tail) #define VTAILANGLE 40 // default angle for Lynxmotion VTAIL/Mini/400/500. Change it for other config if fneeded. #define VTAILTHRUST sin(VTAILANGLE) // ------- Kipkool VTail's mixing ------- #define STAB_MIX(X,Y,Z) rcData[AUX2] + axisPID[ROLL]*X + YAW_DIRECTION * axisPID[YAW]*Z motor[0] = PIDMIX(+0,+1, +1); //REAR_R motor[1] = PIDMIX(-1, -1, -VTAILTHRUST); //FRONT_R motor[2] = PIDMIX(+0,+1, -1); //REAR_L motor[3] = PIDMIX(+1, -1, +VTAILTHRUST); //FRONT_L // ------- BrandXPD VTail 400/500 mixing ------- //#define STAB_MIX(X,Y,Z) rcData[AUX2] + axisPID[ROLL]*X + YAW_DIRECTION * axisPID[YAW]*Z //motor[0] = PIDMIX(-.50,+.93,+1); //REAR_R //motor[1] = PIDMIX(-.77,-.50,-.91); //FRONT_R //motor[2] = PIDMIX(+.50,+.93,-1); //REAR_L //motor[3] = PIDMIX(+.77,-.50,+.91); //FRONT_L // ------- BrandXPD Mini-VTail mixing ------- //motor[0] = PIDMIX(-.44,+.84,+1); //REAR_R //motor[1] = PIDMIX(-.75,-.44,-.81); //FRONT_R //motor[2] = PIDMIX(+.44,+.84,-1); //REAR_L //motor[3] = PIDMIX(+.77,-.44,+.81); //FRONT_L