Kilrah wrote: ↑Sun Jul 21, 2019 10:43 am
No there is no additional delay if you reference another channel. But it would behave the same way as on a single channel...
Maybe you should describe what you want to achieve rather than what you think is the solution, along with what you tried and why it didn't work how you wanted.
Http://www.xyproblem.info
Hmm ok, but that's a long story then.. I'm flying helis. And what I'm trying to do is to apply two curves at once for aileron, elevator and rudder channels
- one curve which regulates how channel should respond to stick movement to get the right feel and precision - let me call it stick response curve. For example sth like this:
- another curve which makes "deadband", like this
(Hand drawn as I don't have my PC here)
Reasons why I'm trying to separate these 2 things instead of making one custom curve are:
- it's complicated to do these two in one custom curve, because stick response curve needs to be smooth and deadband must be sharp (and OpenTX allows to set smooth/sharp per curve, not per point)
- it would also be easier to maintain for me. Some of my flight controllers include some deadband which cannot be disabled. For this reason I need different deadbands depending on model, but same stick response curves.
- if this would work, I would maybe end up just using "expo" for stick response instead of a custom curve. But deadband can only be made with a custom curve AFAIK.
The reason why I want to apply it all in the mixing stage (and not in "inputs") is SimMatch (
http://rc.a-soft.org/?page_id=68 ). In short, sometimes my input is not a stick (like AIL), but rather its recording, which comes as an output of a mixing script. And I can't make inputs use mixing script outputs. So I want to do this at mixing stage.
I thought the easiest way would be to make mix line output be an input for another mix line, but I can't find any way to do this.
I also tried "multiply", but this makes weird effects as I described.
Another way I think about is to make 2 different mixes. One would apply stick response curve to an input (ie. AIL) and produce - for example - channel 20 (not used by receiver). Another mix would take CH20 as input and apply the deadband curve, to produce channel 1 - to be used by receiver. I have yet to test it. However I think CH20 used as an input for a mix would come from the previous frame, so it would add a delay, wouldn't it?