Skip to content

Commit

Permalink
Merge pull request #336 from iNavFlight/development
Browse files Browse the repository at this point in the history
v1.7.2
  • Loading branch information
teckel12 authored Aug 25, 2019
2 parents 63e0e76 + 89387d9 commit f65c01b
Show file tree
Hide file tree
Showing 61 changed files with 812 additions and 458 deletions.
12 changes: 8 additions & 4 deletions .github/ISSUE_TEMPLATE/Attempt_to_call_a_nil_value.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,23 @@ labels: support
assignees: teckel12
---

If you're getting an `Attempt to call a nil value` error, it means you're out of memory on your transmitter. The Taranis series has very little free memory to work with for Lua scripts, so this error is quite common. But, there are a few things that typically cause this error which are listed below:
If you're getting an `Attempt to call a nil value` error, it either means you don't have the `luac` build option checked for your OpenTX/JumperTX firmware or you're out of memory on your transmitter. The Taranis series has very little free memory to work with for Lua scripts, so this error is quite common. There's a few things that typically cause this error which are listed below:

1) When installing Lua Telemetry, be sure to download the latest LuaTelemetry.zip linked here:
1) Be sure the OpenTX/JumperTX firmware on your transmitter includes the `luac` build option, video instructions linked here:

https://youtu.be/nYeB0IXT-10?t=283

2) When installing Lua Telemetry, be sure to download the latest LuaTelemetry.zip linked here:

https://github.com/iNavFlight/LuaTelemetry/releases/latest

Also, please see the following instructions for correct installation:

https://github.com/iNavFlight/LuaTelemetry/wiki/Installation

2) Another possible reason for this error is that you're trying to use other Lua scripts on the same model. While you can have multiple Lua scripts for the same model, there's not much memory to work with on the Taranis transmitters. For example, if you're trying to use the Betaflight Tx lua script as well as Lua Telemetry, you'll probably run out of memory. If VTx control is desired, try using the OSD menu which allows you to change VTx settings right on the OSD.
3) Another possible reason for this error is that you're trying to use other Lua scripts on the same model. While you can have multiple Lua scripts for the same model, there's not much memory to work with on the Taranis transmitters. For example, if you're trying to use the Betaflight Tx lua script as well as Lua Telemetry, you'll probably run out of memory. If VTx control is desired, try using the OSD menu which allows you to change VTx settings right on the OSD.

3) Too many unused models. Each model slot setup in your transmitter takes up valuable memory. Many times models are backed up to tweak settings without deleting the backups when finished. By deleting unused models, memory is freed that can be used for other things, like Lua scripts.
4) Too many unused models. Each model slot setup in your transmitter takes up valuable memory. Many times models are backed up to tweak settings without deleting the backups when finished. By deleting unused models, memory is freed that can be used for other things, like Lua scripts.

As this is a common issue that I've tried to cover in the Wiki, I would appreciate if you could let me know how the instructions could be improved to avoid any confusion.

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Not_enough_memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ labels: support
assignees: teckel12
---

If you're getting a `not enough memory error`, it means you're out of memory on your transmitter. The Taranis series has very little free memory to work with for Lua scripts, so this error is quite common. But, there are a few things that typically cause this error which are listed below:
If you're getting a `not enough memory error`, it means you're out of memory on your transmitter. The Taranis series has very little free memory to work with for Lua scripts, so this error is quite common. There's a few things that typically cause this error which are listed below:

1) When installing Lua Telemetry, be sure to download the latest LuaTelemetry.zip linked here:

Expand Down
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## INAV Lua Telemetry Flight Status for Taranis/Horus/Jumper T16 - v1.7.1
## INAV Lua Telemetry Flight Status for Taranis/Horus/Jumper T16 - v1.7.2

### FrSky SmartPort(S.Port), D-series, F.Port & TBS Crossfire telemetry on Taranis, Horus & Jumper T16 transmitters

Expand All @@ -8,10 +8,9 @@

#### [Video of Lua Telemetry](https://youtu.be/YaUgywuT1YM)

#### Classic view
#### Horus/Jumper T16 view

![sample](assets/iNavQX7.png "Classic view on Q X7 and X-Lite")  
![sample](assets/iNavX9D.png "Classic view on Taranis X9D, X9D+ and X9E")
![sample](assets/iNavHorus.png "View on Horus transmitters")

#### Pilot (glass cockpit) view for fixed wing pilots

Expand All @@ -28,9 +27,10 @@
![sample](assets/iNavQX7alt.png "Altitude graph view on Q X7 and X-Lite")  
![sample](assets/iNavX9Dalt.png "Altitude graph view on Taranis X9D, X9D+ and X9E")

#### Horus/Jumper T16 view
#### Classic view

![sample](assets/iNavHorus.png "View on Horus transmitters")
![sample](assets/iNavQX7.png "Classic view on Q X7 and X-Lite")  
![sample](assets/iNavX9D.png "Classic view on Taranis X9D, X9D+ and X9E")

## Features

Expand All @@ -46,6 +46,7 @@
* 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
Expand All @@ -57,6 +58,7 @@

* [OpenTX v2.2.2+](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 (OpenTX v2.2.3+ is suggested)
* Jumper T16 requires [JumperTX 2.2.3+](https://www.jumper.xyz/jumpertx-t16) (May 23, 2019 or after release)
* The OpenTX/JumperTX firmware on your transmitter needs to [includes the `luac` build option](https://youtu.be/nYeB0IXT-10?t=283)
* FrSky X, R9 or D series telemetry receiver: X4RSB, X8R, XSR, R-XSR, XSR-M, XSR-E, RX4R, RX6R, XM, XM+, R9, R9 Slim, R9 Slim+, R9 Mini, R9 MM, D8R-II plus, D8R-XP, D4R-II, etc. or any TBS Crossfire receiver: Micro, Nano, Diversity, etc.
* [INAV v1.7.3+](https://github.com/iNavFlight/inav/releases) running on your flight controller (INAV v2.1.0+ is suggested for full functionality) - Also compatible with Betaflight (with reduced functionality)
* GPS - If you're looking for a GPS module, I suggest the [Beitian BN-880](https://www.banggood.com/UBLOX-NEO-M8N-BN-880-Flight-Control-GPS-Module-Dual-Module-Compass-p-971082.html)
Expand Down Expand Up @@ -97,7 +99,7 @@
* [Screen Description](https://github.com/iNavFlight/LuaTelemetry/wiki/Screen-Description)
* [Configuration Settings](https://github.com/iNavFlight/LuaTelemetry/wiki/Configuration-Settings)
* [Suggested Battery Settings](https://github.com/iNavFlight/LuaTelemetry/wiki/Suggested-Battery-Settings)
* [Change Log - Release History](https://github.com/iNavFlight/LuaTelemetry/wiki/Change-Log)
* [Playback Telemetry Logs](https://github.com/iNavFlight/LuaTelemetry/wiki/Playback-Telemetry-Log-Files)

## Support

Expand All @@ -108,5 +110,6 @@
## Other

* [Upgrade to Development Build](https://github.com/iNavFlight/LuaTelemetry/wiki/Upgrade-to-Development-Build)
* [Release History](https://github.com/iNavFlight/LuaTelemetry/wiki/Change-Log)
* [Multilingual Support](https://github.com/iNavFlight/LuaTelemetry/wiki/Multilingual-Support)
* [License](https://github.com/iNavFlight/LuaTelemetry/blob/master/LICENSE)
Binary file modified assets/iNavHorus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ luac52 -s -o obj/lang_de.luac src/iNav/lang_de.lua
luac52 -s -o obj/lang_es.luac src/iNav/lang_es.lua
luac52 -s -o obj/lang_fr.luac src/iNav/lang_fr.lua
luac52 -s -o obj/load.luac src/iNav/load.lua
luac52 -s -o obj/log_c.luac src/iNav/log_c.lua
luac52 -s -o obj/log_s.luac src/iNav/log_s.lua
luac52 -s -o obj/log.luac src/iNav/log.lua
luac52 -s -o obj/menu.luac src/iNav/menu.lua
luac52 -s -o obj/modes.luac src/iNav/modes.lua
luac52 -s -o obj/other.luac src/iNav/other.lua
luac52 -s -o obj/pilot.luac src/iNav/pilot.lua
luac52 -s -o obj/radar.luac src/iNav/radar.lua
luac52 -s -o obj/reset.luac src/iNav/reset.lua
luac52 -s -o obj/save.luac src/iNav/save.lua
luac52 -s -o obj/view.luac src/iNav/view.lua

rm -fR obj/
Expand Down
Binary file modified dist/SCRIPTS/TELEMETRY/iNav.lua
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/alt.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/config.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/crsf.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/data.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/func_h.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/func_t.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/horus.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/lang_de.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/lang_es.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/lang_fr.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/load.luac
Binary file not shown.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/log.luac
Binary file not shown.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/log_c.luac
Binary file not shown.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/log_s.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/menu.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/other.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pics/fg0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pics/fg1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pics/fg2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pics/fg3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pics/fg4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pics/fg5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed dist/SCRIPTS/TELEMETRY/iNav/pics/home.png
Binary file not shown.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/pics/homel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/pics/homem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/pics/homes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/pilot.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/radar.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/reset.luac
Binary file not shown.
Binary file added dist/SCRIPTS/TELEMETRY/iNav/save.luac
Binary file not shown.
Binary file modified dist/SCRIPTS/TELEMETRY/iNav/view.luac
Binary file not shown.
Loading

0 comments on commit f65c01b

Please sign in to comment.