New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OpenTX2.1.x][Enhancement] Adding global logical switch #2409
Comments
Needs eeprom change, so it will have to wait until 2.2 |
OK. |
Up for that. I have a special combination of logical switches and functions that allows me to read or reset my timers when holding a lever for different amounts of time. It would be great if I could configure it once for all my models instead of redoing everything each time. |
I have a low battery warning feature implemented based on latched logical switches (voltage <x for y seconds --> battery warning), even refined it to two alarm levels (bat low, bat critical). Now I have 50+ models defined on the Taranis X9D+, but the battery voltage alarm is identical throughout all of them. I would LOVE to be able to handle it with global functions / global logical switches so each model can reuse the same battery warning feature without having to code it on 50+ models separately, which is what I have to do now. Any chance of adding the global logical switches feature into 2.4 maybe? :-) |
logical switches are not the issue, sensors are defined per model |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Oh no! 🥺 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I hope not! |
Um, there are not many features that are still missing in otx but this is definitly one of them... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No, still to relevant to be stale! |
Can we define global logical switches, based only on radio-based inputs (e.g. sticks, switches and pots) that can be used within models as logical values. So we would have GL01-GLXX which I can then use in my models to affect a standard radio configuration. This would avoid re-creating such logical switching in each model. The GLXX vs LXX naming avoid confusion within models programming. An example would be a set of 6 GL linked to the 6 positions of the 6Px using a~x and [-100,-60,-20,20,60,100], or a set combination of switches as a pre-arm condition. |
Having some global functions is (once again ;-) ) a very very very nice feature.
It would be perfect to also have some global logical switches (ex: to setup a advanced throttle security switch combined with some global functions).
The text was updated successfully, but these errors were encountered: