since my receiver does not have enough analog ports to handle all of it, plus it would look sloppy.
So thats why I want to use PPMsum to get everything in, then distribute 3 channels out again through the servo ports.
More specifically; I want channels 9 through 11 to get passed through to servo pins A0 through A2.
What ive done sofar is find the mixer table in Output.cpp and added the last 3 lines:
Code: Select all
#elif defined( Y6 )
motor[0] = PIDMIX(+0,+4/3,+1); //REAR
motor[1] = PIDMIX(-1,-2/3,-1); //RIGHT
motor[2] = PIDMIX(+1,-2/3,-1); //LEFT
motor[3] = PIDMIX(+0,+4/3,-1); //UNDER_REAR
motor[4] = PIDMIX(-1,-2/3,+1); //UNDER_RIGHT
motor[5] = PIDMIX(+1,-2/3,+1); //UNDER_LEFT
servo[0] = rcData[9]; //Passes channel 9 through to A0
servo[1] = rcData[10]; //Passes channel 10 through to A1
servo[2] = rcData[11]; //Passes channel 11 through to A2
And I assume they would only work if activated, so I appended my coptertype in def.h:
Code: Select all
#if defined(BI) || defined(TRI) || defined(FIXEDWING) || defined(HELICOPTER) || defined(SINGLECOPTER)|| defined(DUALCOPTER)|| defined(Y6)
#define COPTER_WITH_SERVO
#endif
Should this work as expected, or did I miss something important?