I’ve build a 2 meter flying wing with straight leading edge commonly referred to as a plank. So far it’s been flying great however the pitch control is very sensitive and roll is very slow and sluggish.
It is very common to give pitch authority a 25-35% mixing value (in our case MIXING_GAIN value), and then scaling roll to take up the rest of the throws (in the case of ardupilot we can do this with the MIXING_OFFSET parameter).
The problem I’m running into, is that ardupilot ignores and dissallows the use of a MIXING_GAIN value below 0.5. Any value input below 0.5 throws an out of range error when attempting to set it, and is ignored by ardupilot.
Is there a good reason for this, and I’d like to propose we lower this value to be allowed to be as low as 0.2
Plank type flying wings often run control surfaces along the whole length of the wingspan. This increases efficiency when the control surfaces are active as opposed to only having an elevon along part of the wing, the draw back is that roll rates decrease, and pitch becomes a lot more sensitive. Usually the above described solution is applied. I could change the mixes to emulate this on my radio but I really think this needs to be handled on the ardupilot internally.
I’m very open to other solutions or ways to make this work.
You can safely ignore Mission Planner’s warnings about default ranges if you are confident that you want to exceed the range.
A brief look through the source code doesn’t turn up any constraints on the mixing gain parameter in question. Are you certain that out of range values are ignored once set?
Yes I’m confident the values set are ignored. I set 0.7 MIXING_GAIN for example and I can I observe large pitch throws. I set 0.2 MIXING_GAIN, and I see the large throws are still being used. I set 0.5, and now the throws reduce as I would expect for that value.
After a reboot, the 0.2 MIXING_GAIN value is overwritten back to 0.5
Thank you Yuri. I started making a little video to illustrate my exacting steps. During this I made an observation that after clicking YES to the prompt in your screenshot, WRITE PARAMS must be clicked a SECOND time!
The warning pops up when the text entry field loses focus. So when you click “Write Params,” it only triggers the warning and no other action.
I typically use the “Tab” key after making a text entry, which avoids this pitfall and then shows the new, unwritten value in green. So long as there are green highlighted fields on my screen, I know I haven’t committed to writing them yet.
Folks often wonder about this “Out of range” warning. In some cases, parameters are indeed constrained to the displayed range (usually to avoid things like divide-by-zero errors or other critical issues). In most cases, you can set damn near anything, even if it’s wildly stupid, so long as you acknowledge the warning.
In this case, I think the warning is appropriate, since you are limiting control throw to less than full (without other action), which should likely be reason for pause.