Question of special channel mixing.

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
Post Reply
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Question of special channel mixing.

Post by Rad »

Hi everybody. I have to do a mix that I have never done before, and I don't know how to do it. It is in a friend's radio, A Frsky X9, with EdgeTX Centurion software, using some sort of weird china electronics.

Left stick horizontal moves one motor.
Right stick vertical, has to move another motor.

The problem is both motors share the same channel, moving the first motor is as simple as moving the left stick horizontaly, but for, but for the other motor I also need to send a -25% in another channel. We would like to move the motors individually without previously flicking any switch

After a while I managed to pseudo do it
In channel 3 I fitted both AIL and ELE sticks,
And in channel 4 I fitted ELE with a -25% So far it half works, and the motor moves in only one direcction.

The question would be: How can I program the radio to send a -25% in the full travel of the right stick, except when it is in the center (plus a small margin)?

Sorry if it is a confusing and stupid question. And thanks in advance!
https://radindustries.wordpress.com/

User avatar
MikeB
9x Developer
Posts: 18056
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Question of special channel mixing.

Post by MikeB »

I've done this on erskyTx, but edge should be very similar.
Not quite sure if this is what you want:
Logical switch 1 (true if the ELE stick is >2% or less than -2%)
|v|>val ELE 2

CH3: +100% AIL
Replace +100% ELE (switch L1)
CH4: +25% HALF (switch L1)

Moving the AIL stick and channel 3 follows the AIL stick.
Moving the ELE stick (past 2%) and channel 4 goes to 25% and channel3 follows the ELE stick.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

MikeB wrote: Wed Jul 03, 2024 3:50 pm I've done this on erskyTx, but edge should be very similar.
Not quite sure if this is what you want:
Logical switch 1 (true if the ELE stick is >2% or less than -2%)
|v|>val ELE 2

CH3: +100% AIL
Replace +100% ELE (switch L1)
CH4: +25% HALF (switch L1)

Moving the AIL stick and channel 3 follows the AIL stick.
Moving the ELE stick (past 2%) and channel 4 goes to 25% and channel3 follows the ELE stick.

Mike
That was it. That did it. Thank you very much, Mike. I use logic switches in all my models, but I always used them on switches, never on the sticks.
Now, thanks to you, I have learnt something new and I have one problem less.

The programming in EdgeTx was pretty much the same, just different names. I still like more Ersky, but there are two things that I have seen on EdgeTx that I liked. Not a request to add them to your software, neither taking more of your time, but if in the future you need some ideas, here they are:

-I have seen the multiprotocol systems are in alphabetical order, which makes easier to find the one you need, for obvious reasons.

-Programming curves. I found it easier, clearer and more flexible. The possibility of selecting how many points (and being able to add a lot!) instead of selecting a preset looks like a good idea.

And that is it.

Thanks again for your help programming this stuff.
https://radindustries.wordpress.com/
User avatar
MikeB
9x Developer
Posts: 18056
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Question of special channel mixing.

Post by MikeB »

I may be able to do the alphabetical order. It appears the module sends the next and previous protocol indices in alphabetical order, so as long as you step slowly it is possible to step in alphabetical order.
I'll investigate.

I haven't changed the curves as doing so would require any model using a curve to need to be re-programmed.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

MikeB wrote: Wed Jul 03, 2024 11:13 pm I may be able to do the alphabetical order. It appears the module sends the next and previous protocol indices in alphabetical order, so as long as you step slowly it is possible to step in alphabetical order.
I'll investigate.

I haven't changed the curves as doing so would require any model using a curve to need to be re-programmed.

Mike
Great news about the alphabetical order, thanks.

About the curves, oh yes, I can understand you are reluctant to modify it because of the existing models. Maybe you can add a last custom curve 20 that is as customizable as in EdgeTX. Again, not a need for me, curves are something I dont use too much, but just an ideas.
https://radindustries.wordpress.com/

User avatar
MikeB
9x Developer
Posts: 18056
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Question of special channel mixing.

Post by MikeB »

Curves 1-8 are 5-point.
Curves 9-16 are 9-point
Curves 17 and 18 are 9-point, but both X and Y values may be set.
Curve 19 is 6-point, mainly done for use with 6-position switches.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

Yes sir, I know. As I said it is fine for me as it is. it was just an idea. I gave the EdgeTX radio back to the owner but if I am not mistaken the curves can have up to 17 points. Way too more to what I need, but who knows.
https://radindustries.wordpress.com/
User avatar
MikeB
9x Developer
Posts: 18056
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Question of special channel mixing.

Post by MikeB »

Test version P2r229 posted that has alphabetical Multi protocols.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

Flashed and it works, even with long press right or left in the encoder.

Great add on, thanks!
https://radindustries.wordpress.com/
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

Hi again, I have another mixing question, but I feel it is similar to the one I started the thread, so not worth to open another.

In this case, software is ErskyTX,
CH 1 Throttle
CH 2 Rudder

The vehicle has a gearbox that uses one motor for throttle, and another for steering. I am using a double ESC with no mixing function. For driving forwards and turning when forwards, there are no issues at all.
There are also no issues when pivoting (turning on the spot)
But for driving backwards, the steering is reversed, due to the construction of the gearbox.

What would be your trick for inverting the steering but only when driving backwards?
Thanks!
https://radindustries.wordpress.com/
User avatar
MikeB
9x Developer
Posts: 18056
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Question of special channel mixing.

Post by MikeB »

Assuming throttle in the middle is stopped.
Logical switch (On if throttle is "back"):
L1 v<val Thr 0
CH2 +100% Rud
R -100% Rud Switch(L1) - a Replace mix

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

MikeB wrote: Sun Jul 14, 2024 7:53 pm Assuming throttle in the middle is stopped.
Logical switch (On if throttle is "back"):
L1 v<val Thr 0
CH2 +100% Rud
R -100% Rud Switch(L1) - a Replace mix

Mike
That did it, thanks!
Mixing channels and logic switches has never been a problem for me, but this thing with the v vals and so on is a pending school subject I need to study this summer.

Thanks again!
https://radindustries.wordpress.com/
Rad
Posts: 470
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: Question of special channel mixing.

Post by Rad »

Another unusual mixing question, something also I never did before, and I feel it is like in the circus, getting more and more complicated.

There is a servo in channel 1, which is controlled by a stick with self returning spring. The servo moves as you move the stick, which is normal. But how would you do to prevent the servo to move back to center when the stick is in the center?

The idea is, if I move the stick up, beyond the middle point, the servo moves up. If the stick goes back to center, the servo keeps in the position it was, and if the stick goes down under the middle position, the servo moves down. The center position would be just like an stop.

Thanks again in advance.
https://radindustries.wordpress.com/
User avatar
MikeB
9x Developer
Posts: 18056
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Question of special channel mixing.

Post by MikeB »

erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “Software”