Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GX12 RF2TLM LUA Script Blows Up UI #5702

Open
1 task done
jmxp69 opened this issue Dec 11, 2024 · 6 comments
Open
1 task done

GX12 RF2TLM LUA Script Blows Up UI #5702

jmxp69 opened this issue Dec 11, 2024 · 6 comments
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting

Comments

@jmxp69
Copy link

jmxp69 commented Dec 11, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

GX12 Bone Stock with one model configured.
Copy rf2tlm.lua to SCRIPTS/MIXES from https://github.com/rotorflight/rotorflight-lua-scripts/releases
Add rf2tlm in any CUSTOM SCRIPTS line (I tried several).
Discover RotorFlight sensors using ELRS Custom Telem from RotorFlight Configurator 2.1.0-RC1
All extended sensors appear. Looks to be working ok.

Exit Telemetry Screen with RTN. Main screen appears and works.
Press SYS Button "No tools found"
Press MDL Button "No models listed" and cannot navigate to model settings
Reboot Radio
Press SYS Button all scripts present
Press MDL Button all models present and can navigate to model settings
Go to telemetry sensors, all extended sensors gone.
Go to custom scripts page, rf2tlm still listed.
Go to file manager -> scripts -> mixes -> delete luac
Re-add rf2tlm to custom scripts line
Discover sensors
All extended sensors show
Exit telem
Press SYS Button "No tools found"
Press MDL Button "No models listed"
Rinse/Repeat

FW: edgetx-gx12
VERS: 2.11.0-selfbuild
GIT#: d5552c80

Also, RF2 LUA does not compile/run.

rf2tlm.lua is confirmed working perfectly on TX16s with 2.10.5.

I have completely restored SD card to stock.
I have copied ONLY rf2tlm.lua to SCRIPTS/MIXES
Behavior repeats.

Expected Behavior

rf2tlm should allow discovery of sensors and not impact normal operation of radio. i.e. Should not 'lose' tools and should not 'lose' model listing and should be able to navigate.

Steps To Reproduce

  1. Copy rf2tlm.lua to scripts/mixes
  2. Add rf2tlm to custom scripts
  3. Discover sensors using Enable Custom Telem on RF
  4. Exit telem screen and navigate to basically anything other than the home screen

Version

Other (Please specify below)

Transmitter

Other (Please specify below)

Operating System (OS)

macOS

OS Version

Sequoia 15.1.1

Anything else?

FW: edgetx-gx12
VERS: 2.11.0-selfbuild < -Factory firmware and [GX12 SASD 04122024 v2.bin]
GIT#: d5552c80

@jmxp69 jmxp69 added bug 🪲 Something isn't working triage Bug report awaiting review / sorting labels Dec 11, 2024
@3djc
Copy link
Collaborator

3djc commented Dec 11, 2024

Could you try with this firmware, was able to reproduce with older, but no this one (so unsure if my reproduce process is wrong, or fixed in this version)
TEST GX12.zip

@jmxp69
Copy link
Author

jmxp69 commented Dec 11, 2024

FW: edgetx-gx12
VERS: 2.11.0-selfbuild
GIT#: 13cee43
DATE: 2024-12-11 11:56:19

Same exact behavior. Pattern repeats.

@3djc
Copy link
Collaborator

3djc commented Dec 11, 2024

Ok, need to understand why I cannot seem to replicate

@jmxp69
Copy link
Author

jmxp69 commented Dec 11, 2024

We could arrange a video demo if you want. Are you on my discord? https://discord.gg/jSFTASU or some other discord?

@3djc
Copy link
Collaborator

3djc commented Dec 12, 2024

Joined linked discord

@3djc
Copy link
Collaborator

3djc commented Dec 13, 2024

There seems to be a SPI bus crash involved here. Investigations in progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting
Projects
None yet
Development

No branches or pull requests

2 participants