-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add direct interface from lua to output-stream #134
Comments
What do you mean exactly here? Do you mean to access the serial connection which leads to the module? EdgeTX does not send any RF packets itself. It would help a bit if you could describe an example use-case. |
I mean the sbus-like data-stream that is send to the RF-module. imagine a widget that codes the state of several "virtual switches" (of a menu coded as lua widget) into the value of a channel. Due to the rounding in several places from mix to the RX-output one can use only 9-bits of the 11-bits in the values. This is a shortcoming for modelists that build ship-models or other kind of models that needs a lot of switches to turn on small motors, LEDs, sound effects and so on. I know that this is very specific to this use-case but most RF-protocols miss the possibility to transport "virtual switch" states. The only one I am aware of is SumDV3 / Hott. Additionaly the interface to the multi-module lacks this feature. |
I see now, so basically a way to set channel values directly without any interaction from the mixer, right? This should be possible, and fits with the idea of using a new LUA touch api for exactly this: virtual buttons and knobs. Could be interesting for everyone. |
Is there any info about the api for lua virtual buttons and knobs? |
Yes, it’s “to be defined” :-D |
Is your feature request related to a problem? Please describe.
Add a possibility to write directly to the output-buffer, that transferred via RF pakets. Also add a transactional / double buffered semantic, so that ist possible to prepare some data e.g. in different output channel values via non-atomar lua writes.
Describe the solution you'd like
Could imagine a interface like:
This could be useful to transfer values that do not fit into a single channel value, but could be transfered in multiple channels. This needs an atomar possibility to set the values.
The text was updated successfully, but these errors were encountered: