Would like to share a lua telemetry script which I use to adjust Spirit (in my case Spirit GT) tuning values with a opentx radio (in my case Taranis X9D plus). I will upload the script and the sound files later. The tuning parameters are persistent using global variables. Only use the script if you know what u do
Have fun
Attachments
Last edited by swash23 on Tue 19. Oct 2021 7:24:37, edited 1 time in total.
Sounds interesting (not the sounds, the functionality ) Can you share some more info what you mean by "persistent using global variable" and how its set up. I'm familiar with GVARs, so I just need to know the rough overview.
the script uses GVAR1 to GVAR9. You should not use these variables somewhere else on the radio. You have to define a telemetry screen to use the script. You assign the spirit functions to a free channel (in spirit settings) and you define an opentx mixer for that channel (source:max, weight; GV9 (for example)) in the outputs screen of opentx you can adjust the alignment of the script values with the spirit parameter values (if needed)
script has been extended and uploaded. It is now aware of different banks or flight modes, so that each flight mode can have different values (for example head gain is mostly lower on higher rpm). The radio expects GVar 0-9 on Flight Mode 0,2 and 4 also added an option to disable sound because the sound output can be annoying if you switch fast through the menues.
swash23 wrote:script has been extended and uploaded. It is now aware of different banks or flight modes, so that each flight mode can have different values (for example head gain is mostly lower on higher rpm). The radio expects GVar 0-9 on Flight Mode 0,2 and 4 also added an option to disable sound because the sound output can be annoying if you switch fast through the menues.
Sounds good. I redownloaded and hope to test it soon. Lot of work currently
i placed your script in Scripts/Telemetry but I can't activate it (added telemetry screen, full screen, select widget). Spirit is not connected TX16s EdgeTX2.5
the script is only for opentx / Taranis X9D plus (maybe similar radio will work also). The TX16s uses widgets which are not used by this script. Opentx radios which use telemetry scripts should work.