rcbuild-info / website

Site to catalog multicopter builds.
Apache License 2.0
2 stars 2 forks source link

[Feature request] Custom mix #11

Open SirPole opened 9 years ago

SirPole commented 9 years ago

When your quad isn't 100% X, which most of miniquads aren't, you should calculate your own input mix, which will improve your flight performance. I think, it should also be visible in build info. It might help other people, who don't know how to calculate it, or are just unsure, to just find their frame and copy someone elses mix...

In CLI dump, it's presented as follows: mixer CUSTOM cmix 1 1.000 -1.000 0.780 -1.000 cmix 2 1.000 -1.000 -0.780 1.000 cmix 3 1.000 1.000 0.780 1.000 cmix 4 1.000 1.000 -0.780 -1.000

tannewt commented 9 years ago

How would you describe what each column means? In other words, how should I present the values in the page rather than how they are in the CLI?

On Sun, Aug 23, 2015 at 7:39 AM Martin Brychta notifications@github.com wrote:

When your quad isn't 100% X, which most of miniquads aren't, you should calculate your own input mix, which will improve your flight performance. I think, it should also be visible in build info. It might help other people, who don't know how to calculate it, or are just unsure, to just find their frame and copy someone elses mix...

In CLI dump, it's presented as follows: mixer CUSTOM cmix 1 1.000 -1.000 0.780 -1.000 cmix 2 1.000 -1.000 -0.780 1.000 cmix 3 1.000 1.000 0.780 1.000 cmix 4 1.000 1.000 -0.780 -1.000

— Reply to this email directly or view it on GitHub https://github.com/rcbuild-info/website/issues/11.

SirPole commented 9 years ago

Sorry, should have been more specific... there are 5 numbers, the first one indicates motor number, the second one is throttle, 0 to 1, 1 means it's fully used, third one is roll, -1 to 1, fourth is pitch, -1 to 1 again and the last one is yaw, which is basically 1 for CCW spin and -1 for CW spin

more info on this: http://blog.oscarliang.net/custom-motor-output-mix-quadcopter/

EDIT: Accidentally closed :/

SirPole commented 9 years ago

I just flashed Boris B.'s betaflight and it changed a bit..command changed from 'cmix' to 'mmix' and motor numbering starts at zero... collumns are still the same - Motor, throttle, roll, pitch, yaw

mixer CUSTOM mmix reset mmix 0 1.000 -1.000 0.780 -1.000 mmix 1 1.000 -1.000 -0.780 1.000 mmix 2 1.000 1.000 0.780 1.000 mmix 3 1.000 1.000 -0.780 -1.000