- Posts: 402
including custom-switch support in Deviation
- blackmoon
- Offline
The extra 1x3 way is correctly defined in the channel monitor, but when I go to mixers, I have the following.
If I choose the expo/dr curve, I only have one switch selectable for mid and low rates.
i.e I can only choose "switch2" no "switch1" is available as per the manual, this makes impossible to have a 3way state on a channel.
Whatever I do the Expo/DR mix isn't saved at all
Curve type complex works as expected.
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
blackmoon wrote: Since I installed the last HappyHarry build I think I found a bug, I loaded a 4ch templates, advanced GUI
The extra 1x3 way is correctly defined in the channel monitor, but when I go to mixers, I have the following.
If I choose the expo/dr curve, I only have one switch selectable for mid and low rates.
i.e I can only choose "switch2" no "switch1" is available as per the manual, this makes impossible to have a 3way state on a channel.
Whatever I do the Expo/DR mix isn't saved at all
Curve type complex works as expected.
Just hit the exact same problem, and was coming here to report it. In my case, I'm using the 2x3way mod, but the problem I see is the same (And same HappyHarry build)
I was hoping to use Expo+DR to have SW A0/1/2 act as a -100, 0 +100 switch (per the ongoing discussion about how the new switches work). In Expo+DR, instead of seeing three sections one with Src, Switch1 and Switch2, I see Src, Switch2 (that doesn't work properly, can't change the spinboxes, nor the scale) and Switch2 again (this one seems to work)
Attaching a bitmap to show the problem. Blackmoon, can you check if your says "Switch2 instead of Switch1 as well? It took me forever to notice it
As a side note, I think that a lot of people would expect a 3 way switch to be usable for quad flight controllers that expect -100, 0, +100 values. Methinks that in the tutorial for the 3 way switch, we should ass a simple explanation on how to implement that
Assuming no problems, would Expo+DR be the best way to go about it? This is one of those cases where the extreme flexibility of the Devention mixer cause confusion
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
While I agree that a "for dummies" is a great idea, I learned the hard way that goof "for dummies" guides are incredibly hard to write well. Either they end up being too low level, or cover too much and confuse new users anyway
What I found works well, is "task based" guides. The kind where "if you want to achieve X, do this" is explained as a single task. That way the new user starts learning when doing something, and over time the manual (which is really good already), makes sense (the problem with any manual is that you need a lot of context to understand everything)
In this spirit, here's my "if you need a -100, 0, +100 switch and all you have is a 3-way switch" task explained
I wanted to have SW B act as a -100, 0, +100 switch on channel 6. -100 is up (farther away from you with the Tx flat on a table), +100 is down, towards you/the base of the Tx
Go into Model Menu, Mixer, scroll down to Ch6, move the selector to "none" and press enter. Tap R+ to set the spinner from Simple to Expo&DR
Move down to Src, tap R+ until you see SW B0. Press Ent, so that it shows !SW B0 instead (i.e. instead of using B0 you use the reverse of its value)
Scroll down and in the High Rate spinner select 1-to-1. Scale stays 100
Scroll down to Switch 1, choose SW B1. Press enter on the Mid Rate filed, so that the spinner underneath changes from Linked to 1-to-1. Set scale to 0 (it's usually 100). That way when SW B1 is on, the value is always 0
Move down to Switch 2, select SW B2, leave Low Rate as Linked and scale 100
Do not forget to save! (I always do forget )
At this point if you go into Transmitter Menu, Channel Monitor, you will see the values changing from -100 to 0 to +100. Ta-dah
I'm sure that there are a million other ways to do it, much more elegantly than I did (probably it's enough to use only two switches in the mixer instead of the three I used, but I got lost trying it )
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
You are right, that is not the way I would have solved this, but it is as good a solution as any.
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
PhracturedBlue wrote: The tutorials section is the best place for posts like that. Itmakes it easier to find them in the future then embedded in unrelated threads. I recommend you create a new thread over there.
You are right, that is not the way I would have solved this, but it is as good a solution as any.
I will create a new post in the tutorials once I'm satisfied mine is a good solution since you just said you would have solved it differently, now I need to find out the "right solution" Now it feels like one of those puzzles you just solved in 10 steps and you discover everyone else is doing it in 9...
Please Log in or Create an account to join the conversation.
- hongm1212
- Offline
- Posts: 10
Thank you for the tutorial.robca wrote: The bug in Expo+Dr is gone int he latest build, well done
While I agree that a "for dummies" is a great idea, I learned the hard way that goof "for dummies" guides are incredibly hard to write well. Either they end up being too low level, or cover too much and confuse new users anyway
What I found works well, is "task based" guides. The kind where "if you want to achieve X, do this" is explained as a single task. That way the new user starts learning when doing something, and over time the manual (which is really good already), makes sense (the problem with any manual is that you need a lot of context to understand everything)
In this spirit, here's my "if you need a -100, 0, +100 switch and all you have is a 3-way switch" task explained
I wanted to have SW B act as a -100, 0, +100 switch on channel 6. -100 is up (farther away from you with the Tx flat on a table), +100 is down, towards you/the base of the Tx
Go into Model Menu, Mixer, scroll down to Ch6, move the selector to "none" and press enter. Tap R+ to set the spinner from Simple to Expo&DR
Move down to Src, tap R+ until you see SW B0. Press Ent, so that it shows !SW B0 instead (i.e. instead of using B0 you use the reverse of its value)
Scroll down and in the High Rate spinner select 1-to-1. Scale stays 100
Scroll down to Switch 1, choose SW B1. Press enter on the Mid Rate filed, so that the spinner underneath changes from Linked to 1-to-1. Set scale to 0 (it's usually 100). That way when SW B1 is on, the value is always 0
Move down to Switch 2, select SW B2, leave Low Rate as Linked and scale 100
Do not forget to save! (I always do forget )
At this point if you go into Transmitter Menu, Channel Monitor, you will see the values changing from -100 to 0 to +100. Ta-dah
I'm sure that there are a million other ways to do it, much more elegantly than I did (probably it's enough to use only two switches in the mixer instead of the three I used, but I got lost trying it )
Beginners have a question.
For example, I want to have mixed in the fifth channel control, mixed control approach for a three switch and a switch, two pieces, a total of six kinds of mode I is to set up three switch to channel 5, or set up two switch to channel 5?
Because there is no the advanced mode 1, so I don't know how to set up.
Thank you very much.
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
Please Log in or Create an account to join the conversation.
- jamiedg
- Offline
- Posts: 8
Thanks for this, just what I after for using RTH on Naza.robca wrote: Yep... it's already here: www.deviationtx.com/forum/3-feedback-que...-flight-mode-setting (just found out, not sure why it didn't come up earlier)
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
I'm currently unable to change the values for SW A0/1/2 and SW B 0/1/2. I see them in the emulator UI, and I even added a hardware.ini file in the fylesystem, just in case.
The boxes for the SW A and B all show 0 as value, which is wrong (some of those should be 100%, some -100%). See picture attached
Are the new switches supposed to work well in the emulator? if so, what am I doing wrong?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
thanks so much!
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- robca
- Offline
- Posts: 174
I downloaded the latest nightly build (deviation-emu_devo7e-v4.0.1-3802611) and I see a change: now all values for SW A and B (0, 1, 2) are -100%.
But there doesn't seem to be a way to change any of those values...
Is it me? Or should I reopen the ticket?
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- including custom-switch support in Deviation