Skip to content

wimalopaan/LUA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LUA

1. MultiSwitch-Widget (outdated)

EdgeTx LUA Widget for ELRS MultiSwitch

2. MultiSwitch b&w telemetry script

Telemetry script mulsw2.lua (and folder MULSW2) for B&W radios (like LVGL MultiSwitch Widget lvglMultiSW)

3. Hardware-Extension-Widget lvglHwExt

EdgeTx LUA Widget for the hardware-extension-protocol. (The current version need EdgeTx PR 5885)

4. Mixer-Script crsfch.lua

EdgeTx mixer script crsfch.lua. Sends additional channels (up to 32) to FC

5. LVGL MultiSwitch Widget lvglMultiSW

New widget for the MultiSwitch-E32 based on LVGL UI controls.

6. SuperSimpleMultiswitch Mixer-Script mswsb.lua

If you use the SuperSimpleMultiSwitch in combination with sbus you’ll need this together with the LVGL MultiSwitch Widget lvglMultiSW

7. SuperSimpleMultiswitch Mixer-Script mswib.lua

If you use the SuperSimpleMultiSwitch in combination with ibus you’ll need this together with the LVGL MultiSwitch Widget lvglMultiSW

8. LVGL Controls Widget lvglControls

This widget shows up to 16 virtual sources (sliders). The values of these controls are stored in Shared-Memory variables. These variables can be uses via Mixer-Script shm.lua.

9. Mixer-Script shm.lua

Reads up to 6 Shared-Memory-Variables and outputs them without any processing. This is usesful to use the Shared-Memoty-Variables as mixer-inputs.

10. Mixer-Script schtl.lua

Mixer script that computes polar coordinates (direction, power) from two pairs of stick values. This is intended to be used with my (very old) schottel / pod drive controller. (The new schottel controller RC720E32 does noch need this mixer script)

11. Widget for RC720E32 (Schottel-Controller)

EdgeTx LUA Widget for the Schottel-Controller RC720E32

12. Voith-Schneider EdgeTx / OpenTx LUA mixer script

This is a limiter script vsp.lua for controlling Voith-Schneider propellers. It incorporates an additional correction algorithm. This is neccessary due to the geometry of the fixed rectangular servo configuration.

13. Incremental EdgeTx / OpenTx mixer script

The increm.lua mixer script implements an incremental channel: an output value that is the integral (sum over time) of the choosen input scaled with some (speed) factor. This sometimes called hydraulic-simulation.

14. EdgeTx Simulator

As of version 2.11 the EdgeTx simulator supports using host serial ports (e.g. USB/serial adapters) as AUX1/2 in the simulator. These serial ports can be used for all purposes but for internal/external module connection.

Connecting an ELRS-module (e.g. a rx-as-tx) via USB/serial is easy. One can also use a ELRS-module with USB, if you tweak the internal pin connection of UART1 to the USB.

Now the crsf16.lua script can send CRSF packets out of the serial to the ELRS-module. Then this module connects to the receiver (if already bound).

To make configuration changes you need a modified version of elrsV3.lua that also uses the serial instead of the internal/external modul connection (which is not working on simulator).

14.1. CRSF channels mixer script

The crsf16.lua mixer script sends the first 16 channels over serial (921600 baud).

14.2. ELRSV3 for simulator: elrsV3simu.lua

Adaption of the elrsv3.lua to send/receive CRSF packets over serial (921600 baud).

14.3. crossfireTelemetry…​() replacement

The elrsV3simu.lua uses LUA implementations of crossfireTelemetryPop() and crossfireTelemetryPush)(). These replacements are broken out into the crsfserial.lua (in WIDGETS/Schottel). Other scripts can load this file and make use of these functions, so that LUA widgets using crossfire telemetry will also work on simulator. Please refer to elrsV3simu.lua or WIDGETS/Schottel/main.lua to see how to use them.

About

LUA scripts for special purposes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages