- Posts: 116
Stick position + delay
- sv650s
- Topic Author
- Offline
Less
More
23 May 2014 15:55 - 23 May 2014 19:21 #23531
by sv650s
Stick position + delay was created by sv650s
Hello
I would like to know if it´s possible in deviation to make this :
I would like to show a toggle icon when my kk2 is armed and not show it when the kk2 is disarmed
So, i have already made the icon, it´s ok
Now, i would like to know if it´s possible to use a delay on a stick action
For armed the kk2 i must put the throttle = 0 and the rudder stick on right and wait 2 secondes
I have already create a virtual channel who show the toggle icon when the rudder stick is in right position but disappear if i release it.....
But i would like the toggle icon is show only after 2 secondes and after when i release rudder stick, the toggle icon stay show
Is it possible ?
Somebody can explain me ?
Thanks for your help
I would like to know if it´s possible in deviation to make this :
I would like to show a toggle icon when my kk2 is armed and not show it when the kk2 is disarmed
So, i have already made the icon, it´s ok
Now, i would like to know if it´s possible to use a delay on a stick action
For armed the kk2 i must put the throttle = 0 and the rudder stick on right and wait 2 secondes
I have already create a virtual channel who show the toggle icon when the rudder stick is in right position but disappear if i release it.....
But i would like the toggle icon is show only after 2 secondes and after when i release rudder stick, the toggle icon stay show
Is it possible ?
Somebody can explain me ?
Thanks for your help
Last edit: 23 May 2014 19:21 by sv650s.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
23 May 2014 16:53 #23533
by PhracturedBlue
Replied by PhracturedBlue on topic Stick position + delay
It should be possible using a couple virtual channels.
How do you want to disable the toggle?
You'll start by using a delay channel to get the value toggle 2 seconds after the rudder reaches 100%.
then you'll use a second channel to latch the previous value. I can tell you how to configure it, but I don't understand how you disable the toggle once it is set.
How do you want to disable the toggle?
You'll start by using a delay channel to get the value toggle 2 seconds after the rudder reaches 100%.
then you'll use a second channel to latch the previous value. I can tell you how to configure it, but I don't understand how you disable the toggle once it is set.
Please Log in or Create an account to join the conversation.
- sv650s
- Topic Author
- Offline
Less
More
- Posts: 116
23 May 2014 17:31 - 23 May 2014 19:10 #23535
by sv650s
Replied by sv650s on topic Stick position + delay
for disable toggle icon i must do the same thing but with throttle = 0 and with rudder stick on left during 2 seconds
i have made a "simple" virtual channel with :
source : rudder
curve : min/max
scale : 100
offset : 0
value : -100
if i have well understood, i must make another channel for the delay but i don't understand how to make it…. don't arrive to use the delay….
can you explain me how to make this channel please ?
thanks for your help
i have made a "simple" virtual channel with :
source : rudder
curve : min/max
scale : 100
offset : 0
value : -100
if i have well understood, i must make another channel for the delay but i don't understand how to make it…. don't arrive to use the delay….
can you explain me how to make this channel please ?
thanks for your help
Last edit: 23 May 2014 19:10 by sv650s.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
23 May 2014 23:57 - 23 May 2014 23:58 #23547
by PhracturedBlue
Replied by PhracturedBlue on topic Stick position + delay
There may be a more efficient way to do it, but this works:
Virt1: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Rud, Switch = None, Curve = 13 Points (1= -100, 2-12 = 0, 13 = 100), Scale = 100, Offset = 0
Mixer2: Mux = Delay, Src = Rud, Switch = None, Curve = Fixed (Value = 100), Scale = 40, Offset = 0
Mixer3: Mux = Mult, Src = Thr, Switch = None, Curve = Zero/Max (Value = 95), scale = -100, Offset = 0
Virt2: Complex, 2 mixers
Mixer1: Mux = Replace, Src = Virt1, Switch = Virt1, Curve = Zero/Max (Value = 98), Scale = 100, Offset = 0
Mixer2: Mux = Replace, Src = Virt1, Switch = !Virt1, Curve = Zero/Max (Value = -98), Scale = 100, Offset = -100
Virt3: Complex, 2 mixers
Mixer1: Mux = Replace, Src = Virt2, Switch = Virt2, Curve = Fixed (Value = 100), Scale = 100, Offset = 0
Mixer2: Mux = Replace, Src = Virt2, Switch = !Virt2, Curve = Fixed (Value = 100), Scale = -100, Offset = 0
Virt1 creates a delayed channel (value of 40 is 2 seconds) based on RUD with an override if Thr moves
Virt2 creates a trinary channel from Virt1. It will have a value of only -100 when Virt1 is -100, 100 when Virt1 is 100, and 0 anytime else
Virt3 is a feedback channel. It will keep its previous value unless Virt2 is +100 or -100 in which case it will take the value of Virt2
It should be possible to merge Virt2 and Virt3 into a single channel, but I didn't spend the time to try it.
Here's an example model file for the Devo8/Emu (note that I used Ch6, Ch7, Ch8 instead of Virt1, Virt2, Virt3)
Virt1: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Rud, Switch = None, Curve = 13 Points (1= -100, 2-12 = 0, 13 = 100), Scale = 100, Offset = 0
Mixer2: Mux = Delay, Src = Rud, Switch = None, Curve = Fixed (Value = 100), Scale = 40, Offset = 0
Mixer3: Mux = Mult, Src = Thr, Switch = None, Curve = Zero/Max (Value = 95), scale = -100, Offset = 0
Virt2: Complex, 2 mixers
Mixer1: Mux = Replace, Src = Virt1, Switch = Virt1, Curve = Zero/Max (Value = 98), Scale = 100, Offset = 0
Mixer2: Mux = Replace, Src = Virt1, Switch = !Virt1, Curve = Zero/Max (Value = -98), Scale = 100, Offset = -100
Virt3: Complex, 2 mixers
Mixer1: Mux = Replace, Src = Virt2, Switch = Virt2, Curve = Fixed (Value = 100), Scale = 100, Offset = 0
Mixer2: Mux = Replace, Src = Virt2, Switch = !Virt2, Curve = Fixed (Value = 100), Scale = -100, Offset = 0
Virt1 creates a delayed channel (value of 40 is 2 seconds) based on RUD with an override if Thr moves
Virt2 creates a trinary channel from Virt1. It will have a value of only -100 when Virt1 is -100, 100 when Virt1 is 100, and 0 anytime else
Virt3 is a feedback channel. It will keep its previous value unless Virt2 is +100 or -100 in which case it will take the value of Virt2
It should be possible to merge Virt2 and Virt3 into a single channel, but I didn't spend the time to try it.
Here's an example model file for the Devo8/Emu (note that I used Ch6, Ch7, Ch8 instead of Virt1, Virt2, Virt3)
Last edit: 23 May 2014 23:58 by PhracturedBlue.
Please Log in or Create an account to join the conversation.
- sv650s
- Topic Author
- Offline
Less
More
- Posts: 116
24 May 2014 03:34 - 24 May 2014 03:53 #23552
by sv650s
Replied by sv650s on topic Stick position + delay
Hello
thanks very very very much PhracturedBlue
but if i choose curve = fixed i can't choose source there is source = none i can only modify the command
but when i choose a toggle icon, i can select only one virtual channel… how can i select the channel virtual 1, virtual 2 and virtual 3 in the same toggle icon ? or maybe i must only choose channel virtual 3 in my toggle icon ?
i'm under deviationtx 4.0.1 with devo 12S
i will look at that this afternoon when i will back from my job
i will tell you my results
thanks again
thanks very very very much PhracturedBlue
but if i choose curve = fixed i can't choose source there is source = none i can only modify the command
but when i choose a toggle icon, i can select only one virtual channel… how can i select the channel virtual 1, virtual 2 and virtual 3 in the same toggle icon ? or maybe i must only choose channel virtual 3 in my toggle icon ?
i'm under deviationtx 4.0.1 with devo 12S
i will look at that this afternoon when i will back from my job
i will tell you my results
thanks again
Last edit: 24 May 2014 03:53 by sv650s.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
24 May 2014 04:43 #23556
by PhracturedBlue
Replied by PhracturedBlue on topic Stick position + delay
you only need virtual3 for the toggle igon. virtual1 and 2 are intermediate stages to get there.
i always set the src before the curve. I'm not sure it'll matter, but there are some weirdness to how the fixed curve works, so I always set it 1st. when in doubt, try the model I provided.
i always set the src before the curve. I'm not sure it'll matter, but there are some weirdness to how the fixed curve works, so I always set it 1st. when in doubt, try the model I provided.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
24 May 2014 05:22 #23558
by PhracturedBlue
Replied by PhracturedBlue on topic Stick position + delay
I came up with a slightly simpler solution:
Virt1 stays the same as previously:
Virt1: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Rud, Switch = None, Curve = 13 Points (1= -100, 2-12 = 0, 13 = 100), Scale = 100, Offset = 0
Mixer2: Mux = Delay, Src = Rud, Switch = None, Curve = Fixed (Value = 100), Scale = 40, Offset = 0
Mixer3: Mux = Mult, Src = Thr, Switch = None, Curve = Zero/Max (Value = 95), scale = -100, Offset = 0
Virt2 becomes:
Virt2: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Virt2, Switch = None, Curve = 1-to-1, Scale = 100, Offset = 0
Mixer2: Mux = max, Src = Virt1, Switch = Virt1, Curve = Min/Max (Value = 98), Scale = 100, Offset = 0
Mixer3: Mux = min, Src = Virt1, Switch = !Virt1, Curve = Min/Max (Value = -98), Scale = 100, Offset = 0
Virt3 is no longer needed. This merges the feedback in with the trigger so you only need 2 virtual channels.
Virt1 stays the same as previously:
Virt1: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Rud, Switch = None, Curve = 13 Points (1= -100, 2-12 = 0, 13 = 100), Scale = 100, Offset = 0
Mixer2: Mux = Delay, Src = Rud, Switch = None, Curve = Fixed (Value = 100), Scale = 40, Offset = 0
Mixer3: Mux = Mult, Src = Thr, Switch = None, Curve = Zero/Max (Value = 95), scale = -100, Offset = 0
Virt2 becomes:
Virt2: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Virt2, Switch = None, Curve = 1-to-1, Scale = 100, Offset = 0
Mixer2: Mux = max, Src = Virt1, Switch = Virt1, Curve = Min/Max (Value = 98), Scale = 100, Offset = 0
Mixer3: Mux = min, Src = Virt1, Switch = !Virt1, Curve = Min/Max (Value = -98), Scale = 100, Offset = 0
Virt3 is no longer needed. This merges the feedback in with the trigger so you only need 2 virtual channels.
Please Log in or Create an account to join the conversation.
- sv650s
- Topic Author
- Offline
Less
More
- Posts: 116
24 May 2014 08:31 - 24 May 2014 08:42 #23564
by sv650s
Replied by sv650s on topic Stick position + delay
Thanks again FracturedBlue,
I will try your solution this afternoon when i will come back from my job
I will say you the result after testing this
Thanks, thanks again
I will try your solution this afternoon when i will come back from my job
I will say you the result after testing this
Thanks, thanks again
Last edit: 24 May 2014 08:42 by sv650s.
Please Log in or Create an account to join the conversation.
- sv650s
- Topic Author
- Offline
Less
More
- Posts: 116
24 May 2014 13:11 #23571
by sv650s
Replied by sv650s on topic Stick position + delay
I have just tried to make this but this was not work
So i have reversed source Throttle
And i can't choose source with a fixed curved ..... Why ?
So i have made a curve in 3 points instead of fixed and it works very well !!!
But i can't have a source with a fixed curve ???
Thanks very much FracturedBlue !!!
So i have reversed source Throttle
And i can't choose source with a fixed curved ..... Why ?
So i have made a curve in 3 points instead of fixed and it works very well !!!
But i can't have a source with a fixed curve ???
Thanks very much FracturedBlue !!!
Please Log in or Create an account to join the conversation.
- sv650s
- Topic Author
- Offline
Less
More
- Posts: 116
24 May 2014 13:51 #23574
by sv650s
Replied by sv650s on topic Stick position + delay
I have made this and it woks :
Virt3: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Rud, Switch = None, Curve = 13 Points (1= -100, 2-12 = 0, 13 = 100), Scale = 100, Offset = 0
Mixer2: Mux = Delay, Src = Rud, Switch = None, Curve = 3 pts (Value = 100, 100, 100), Scale = 40, Offset = 0
Mixer3: Mux = Mult, Src = !Thr, Switch = None, Curve = Zero/Max (Value = 95), scale = 100, Offset = 0
Virt4: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Virt4, Switch = None, Curve = 1-to-1, Scale = 100, Offset = 0
Mixer2: Mux = max, Src = Virt3, Switch = Virt3, Curve = Min/Max (Value = 98), Scale = 100, Offset = 0
Mixer3: Mux = min, Src = Virt3, Switch = !Virt3, Curve = Min/Max (Value = -98), Scale = 100, Offset = 0
Thanks again FracturedBlue !
Virt3: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Rud, Switch = None, Curve = 13 Points (1= -100, 2-12 = 0, 13 = 100), Scale = 100, Offset = 0
Mixer2: Mux = Delay, Src = Rud, Switch = None, Curve = 3 pts (Value = 100, 100, 100), Scale = 40, Offset = 0
Mixer3: Mux = Mult, Src = !Thr, Switch = None, Curve = Zero/Max (Value = 95), scale = 100, Offset = 0
Virt4: Complex, 3 mixers
Mixer1: Mux = Replace, Src = Virt4, Switch = None, Curve = 1-to-1, Scale = 100, Offset = 0
Mixer2: Mux = max, Src = Virt3, Switch = Virt3, Curve = Min/Max (Value = 98), Scale = 100, Offset = 0
Mixer3: Mux = min, Src = Virt3, Switch = !Virt3, Curve = Min/Max (Value = -98), Scale = 100, Offset = 0
Thanks again FracturedBlue !
Please Log in or Create an account to join the conversation.
Time to create page: 0.044 seconds
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- Stick position + delay