R/C Settings
Overview Search Downloads Submit file Up
Download details
average dlg / bungee launch height and number of launches and number over set amount Version:3.3
(0 votes)

by nigelsheffield and on4mj   http://www.rcgroups.com/forums/showthread.php?t=2237421#post29328259

this will average the launch heights and ignore thermal climb out value, also give a count of launches and number of launches over 29m.

3.3 has auto correct for altimeter drift, makes its own alt reading which it resets to zero on launch.

3.2 WARNING USES GVAR from FM9. saves total total number of throws in gvar fm9

this will average the launch heights and ignore thermal climb out value, also give a count of launches and number of launches over set amount.


3.1 saves personal best throw in a gvar so stays after radio switched off

3.0 fixed ready for changes in opentx 2.1

2.9 fixed decimal point pos.

2.8 gives last launch height and is dressed a bit nicer thanks to on4mj who has been a great help and shown me some better programming practices.

2.7 uses altitude change to detect top of launch so get results faster and so gives the PEAK of the launch rather then the leveled out height.

version 2.6 now the target height can be set by switch G down and then throttle pos varies it from 0 to 60M or so. the value is saved in global variable 9 fm8 so will be remembered when tx is switched off.

version 2 now give best 3 launches works ok in 2.0.8

version 2.5 has voice announce of height at top of launch, decimal place  LIMIT variable which can be changed to set the target for launches over certain amount.

it works by the v.speed and altitude does not need any switch inputs or rely on timer value so is a good way of keeping track of launches.

I will probably add voice announce of launch height too for those that dont already have my model with the launch height announce based on LS and SF switches, but if I dont you can always try to work it out yourself!

This will compliment my other scripts and I decided not to include it in them and keep it a seperate telemetry lua. it will keep track even when not on display.


This is a telem lua so rename it if you need to to telemx.lua  with x being a number between 1 and 6 and put it in directory according to the model you want to use it on   scripts/modelname/telemx.lua

Note the directory needs to be the name of your model and no spaces allowed.


Size 4.61 KB
Downloads 2516
Created 2014-07-19
Created by nigelsheffield
Changed at 2015-02-12
Modified by nigelsheffield

View Model Details



#1 Mark Brown 2015-05-24 19:38
Nigel -- I accidentally put this comment in for another one of your programs!

I've implemented your LUA script on my dlg and it is loads of fun! I have found it to be quite useful for (slowly) improving my launch technique

I have two questions:

1 - The audio voice altitude announcement works, but it invariably announces a height that is a couple of feet lower than what appears on the Taranis screen under "last launch height" -- how is this possible since it must be dealing with the same variable ("alt" I assume)?

2 -- In trying to figure out how this could occur by reading your program, it seems to me that the key reference to getting alt appears to be commented out, that is, line 88 "--alt = (getValue(alt_i d) *units)-altoffs et" So, where is altitude then read into alt?



You have no rights to post comments