Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

[Feature request] Custom mix #11

Open
SirPole opened this issue Aug 23, 2015 · 3 comments
Open

[Feature request] Custom mix #11

SirPole opened this issue Aug 23, 2015 · 3 comments

Comments

@SirPole
Copy link

SirPole commented Aug 23, 2015

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
Copy link
Contributor

tannewt commented Aug 23, 2015

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
#11.

@SirPole
Copy link
Author

SirPole commented Aug 23, 2015

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 SirPole closed this as completed Aug 23, 2015
@SirPole SirPole reopened this Aug 23, 2015
@SirPole
Copy link
Author

SirPole commented Aug 25, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants