It is currently Thu 21. Nov 2024 19:14:40

All times are UTC + 1 hour





Post new topic Reply to topic  [ 8 posts ] 
  Print view Previous topic | Next topic 
Author Message
PostPosted: Tue 19. Oct 2021 7:20:27 
Offline

Joined: Fri 01. Nov 2019 13:32:19
Posts: 40
Location: Munich, Germany
Hi,

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:
IMG_20211019_080601.jpg
IMG_20211019_080601.jpg [ 3.05 MiB | Viewed 5433 times ]
IMG_20211019_080611.jpg
IMG_20211019_080611.jpg [ 3.53 MiB | Viewed 5433 times ]
IMG_20211019_080625.jpg
IMG_20211019_080625.jpg [ 3.14 MiB | Viewed 5433 times ]


Last edited by swash23 on Tue 19. Oct 2021 7:24:37, edited 1 time in total.
Top
 Profile  
 
PostPosted: Tue 19. Oct 2021 7:23:44 
Offline

Joined: Fri 01. Nov 2019 13:32:19
Posts: 40
Location: Munich, Germany
files attached.
sounds.zip should be extracted to SOUNDS/en
The script is placed to SCRIPTS/TELEMETRY


Attachments:
spitun.zip [2.64 KiB]
Downloaded 239 times
sounds.zip [437.87 KiB]
Downloaded 240 times


Last edited by swash23 on Sat 23. Oct 2021 19:19:39, edited 1 time in total.
Top
 Profile  
 
PostPosted: Wed 20. Oct 2021 9:14:47 
Offline

Joined: Fri 20. Aug 2021 6:12:26
Posts: 61
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.


Top
 Profile  
 
PostPosted: Wed 20. Oct 2021 18:45:51 
Offline

Joined: Fri 01. Nov 2019 13:32:19
Posts: 40
Location: Munich, Germany
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)


Top
 Profile  
 
PostPosted: Sat 23. Oct 2021 19:22:48 
Offline

Joined: Fri 01. Nov 2019 13:32:19
Posts: 40
Location: Munich, Germany
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.


Top
 Profile  
 
PostPosted: Mon 25. Oct 2021 7:20:09 
Offline

Joined: Fri 20. Aug 2021 6:12:26
Posts: 61
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 :-(


Top
 Profile  
 
PostPosted: Tue 26. Oct 2021 16:53:41 
Offline

Joined: Fri 20. Aug 2021 6:12:26
Posts: 61
Hi

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


Top
 Profile  
 
PostPosted: Tue 26. Oct 2021 18:14:38 
Offline

Joined: Fri 01. Nov 2019 13:32:19
Posts: 40
Location: Munich, Germany
Hi,

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.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
skymiles_red v1.0.1 designed by Team -Programming forum-سيارات للبيع .