Alexinparis wrote:Hi,
I understand the coeff are not correct in the original version,
but something seems wrong here because the weight of ROLL factor for 4&5 motors shouldn't be the same as the others.
Hi Alex,
I have got a couple of good feedbacks for these new mixes on russian forum:
http://forum.rcdesign.ru/f123/thread258 ... ost3476241http://forum.rcdesign.ru/f123/thread258 ... ost3477676Actually the logic is simple for mixes - it should take into account angle to calculate the power of each motor.
And it should take into account two points:
1) be symmetric in power for roll and pitch
2) each motor should have the same power (as much as possible) in diff with others motors to have linear load
So mixes for HEX6 & HEX6X are here
:
Code: Select all
#ifdef HEX6
motor[0] = PIDMIX(-9/10,+4/5,+1); //REAR_R
motor[1] = PIDMIX(-9/10,-4/5,-1); //FRONT_R
motor[2] = PIDMIX(+9/10,+4/5,+1); //REAR_L
motor[3] = PIDMIX(+9/10,-4/5,-1); //FRONT_L
motor[4] = PIDMIX(+0 ,-4/5,+1); //FRONT
motor[5] = PIDMIX(+0 ,+4/5,-1); //REAR
#endif
#ifdef HEX6X
motor[0] = PIDMIX(-4/5,+9/10,+1); //REAR_R
motor[1] = PIDMIX(-4/5,-9/10,+1); //FRONT_R
motor[2] = PIDMIX(+4/5,+9/10,-1); //REAR_L
motor[3] = PIDMIX(+4/5,-9/10,-1); //FRONT_L
motor[4] = PIDMIX(-4/5 ,+0 ,-1); //RIGHT
motor[5] = PIDMIX(+4/5 ,+0 ,+1); //LEFT
#endif
Alexinparis wrote:About the THR expo functions:
If I set MAXTRHOTTLE to 1900,
When RC throttle channel reaches 2000, we have the right value: rcCommand[THROTTLE] = 1900
(checked with debug[0]) whatever the value of MID or EXPO.
please check again your conf.
mid value is in the range:
from the stick point of view: [MINCHECK;2000]
from the throttle command point of view: [MINTHROTLE ; MAXTHROTTLE]
I will add a small cursor in the GUI so that you can see where the throttle is in the graph, and correlate easier the hover point.
The logic is a little bit different from alexmos code because the expo curve is apply only on the useful part of the range.
"small cursor" is a good idea to see/find the hover point!
About range from TX: Yes, I had ~1920 from receiver as max value. And as for now with Turnigy 9x (er9x firmware) it's not a problem to increase the range for me, e.g. to 1000..2000, but for some cheapest TX like "Hobby King 2.4Ghz 6Ch Tx" (i started from that one) it's not possible to set this range even with 125%, i.e. only about 1080-1920...
thx-
Alex