OpenTX logo

ALT+ height logger

image

Description

Altlog.lua is a script for EdgeTX for logging maximum height, as reported by a vario/baro sensor. The idea behind the script is to log launch heights, when used with the DLG templates on this site.

What it does

The script is called from a special function. It fetches the value of the ALT+ telemetry and writes it to a log file, together with a timestamp.

Installing the script

To install the script,

Logging launch height

This section describes a simple mod to the DLG and DLG6S templates, to log launch heights.

  1. Install the script
  2. Open the Special Functions menu
  3. Identify the SF with PlayVal, ALT+ (this is the SF which triggers the height announcement). Make a note of the logical switch (typically L26).
  4. Create a new SF to trigger the altlog.lua script, using the same logical switch you identified above. Set repeat to 'x1'.

Voila the launch height will announced and logged simultaneously.

Location of log file

The log file is created in the /LOGS/ folder on the SD card. There is one log per day with filename {modelname}_ALT_[yyyy‑mm‑dd].

Other uses

Although designed to log ALT+ telemetry, the script can be easily modified to log any source value.

Download

altlog v1.2

Requirements

  • Receiver or sensor with ALT telemetry
  • Transmitter running EdgeTX 2.10 or later

Files

Please read the instructions at the top of the script.