From 145c80c7bab3b88b5009d12ffd83f4213e6ef908 Mon Sep 17 00:00:00 2001 From: Jonathan Hudson Date: Sat, 20 Jan 2024 16:39:35 +0000 Subject: [PATCH] update readme --- README.md | 11 +++++------ src/SCRIPTS/TELEMETRY/iNav.lua | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d482505..8528ee3 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ * Supported receivers: FrSky (compatible) telemetry receivers (X, R9 and D series) and Crossfire receivers. * Supported transmitters: FrSky Taranis and Horus transmitters, Jumper T12, T16, FLYSKY Nirvana NV14, Radiomaster TX16S, TX12, Zorro, Boxer (at least). * Note other transmitters may work, but are not considered "supported". -* Compatible with Betaflight using FrSky X or R9 series receivers (with reduced functionality) and TBS Crossfire support with Betaflight v4.0.0+ * Launch/pilot-based model orientation and location indicators (great for lost orientation/losing sight of your model) * Compass-based direction indicator (with magnetometer sensor on multirotor or fixed-wing with GPS) * Pilot (glass cockpit) view which includes attitude indicator as well as pilot-familiar layout of additional data @@ -49,19 +48,20 @@ * Display and voice alerts for flight modes and flight mode modifiers (altitude hold, heading hold, home reset, etc.) * Voice notifications for % battery remaining (based on current), voltage low/critical, high altitude, lost GPS, ready to arm, armed, disarmed, etc. * GPS info: Satellites locked, GPS accuracy (HDOP), GPS altitude, GPS coordinates. Also logs the last GPS location (reviewed from the config menu) -* Playback previous flights via telemetry log files, including fast forward, rewind, and pause features * Display of current/maximum: Altitude, Distance, Speed and Current * Display of current/minimum: Battery voltage, RSSI strength * Title display of model name, flight timer, transmitter voltage and receiver voltage * Menu configuration options can be changed from inside the script and can be unique to each model * Speed and distance values are displayed in metric or imperial based on transmitter's telemetry settings -* Voice files, modes and config menu in English, German, French or Spanish (more languages to follow) +* Voice files, modes and config menu in English, German, French or Spanish. +* OpenTX: Playback previous flights via telemetry log files, including fast forward, rewind, and pause features +* May work with other (non-INAV) firmware; this is not a supported use case. ## Requirements Supported environments are given below, older versions may also work but are unsupported. -* [INAV v6.0+](https://github.com/iNavFlight/inav/releases) running on your flight controller.Also compatible with Betaflight v4.0.0+ (with reduced functionality) +* [INAV v6.0+](https://github.com/iNavFlight/inav/releases) running on your flight controller. * [OpenTX v2.3.14+](http://www.open-tx.org/) running on Taranis Q X7/Q X7S, X9D/X9D+, X9E, X9 Lite, X-Lite/X-Lite Pro, Horus X10/X10S or X12S * [EdgeTX v2.8.0+](https://edgetx.org/) running on a [supported radio](https://github.com/EdgeTX/edgetx.github.io/wiki/Frequently-Asked-Questions). * FrSky X, R9 or D series telemetry receiver: X4RSB, X8R, XSR, R-XSR, XSR-M, XSR-E, RX4R, RX6R, R9, R9 Slim, R9 Slim+, R9 Mini, R9 MM, D8R-II plus, D8R-XP, D4R-II, etc. or any Crossfire receiver: Micro, Nano, Diversity, ELRS etc. @@ -77,8 +77,7 @@ Supported environments are given below, older versions may also work but are uns * Crossfire is not fully supported with OpenTX, due to a long-standing OpenTX issue; EdgeTX is recommended for use with Crossfire (and generally). * Some telemetry is missing from Crossfire: HDOP, GPS altitude and some secondary flight mode notifications like heading hold -* Betaflight v4.0.0+ mostly works, except for some GPS and flight mode information which is missing from Betaflight -* Use the OSD to control VTx band, frequency and power (except for on 2019 series Taranis transmitters, Betaflight's lua script can't run at the same time as INAV Lua Telemetry due to limited transmitter memory) +* Other Lua scripts may not run at the same time as INAV Lua Telemetry due to limited transmitter resources) ## Special Thanks diff --git a/src/SCRIPTS/TELEMETRY/iNav.lua b/src/SCRIPTS/TELEMETRY/iNav.lua index 66dccaf..7da4412 100644 --- a/src/SCRIPTS/TELEMETRY/iNav.lua +++ b/src/SCRIPTS/TELEMETRY/iNav.lua @@ -2,7 +2,7 @@ -- Docs: https://github.com/iNavFlight/OpenTX-Telemetry-Widget local zone, options = ... -local VERSION = "2.2.3" +local VERSION = "2.2.4" local FILE_PATH = "/SCRIPTS/TELEMETRY/iNav/" local SMLCD = LCD_W < 212 local HORUS = LCD_W >= 480 or LCD_H >= 480 @@ -410,7 +410,7 @@ function inav.background() -- Initialize variables on flight reset (uses timer3) tmp = model.getTimer(2) if tmp.value == 0 then - loadScript(FILE_PATH .. "load_" .. (data.etx and "e" or "o") .. ext, env)(config, data, FILE_PATH) + loadScript(FILE_PATH .. "load" .. ext, env)(config, data, FILE_PATH) loadScript(FILE_PATH .. "reset" .. ext, env)(data) tmp.value = 3600 model.setTimer(2, tmp)