-
Notifications
You must be signed in to change notification settings - Fork 58
Frsky X9 lite attempt to call a nill value #331
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
Comments
See: https://github.com/iNavFlight/LuaTelemetry/issues/new/choose, first issue option. So it's out of memory. Remove any other Lua scripts. I guess it's possible that the X9 Lite has less memory? Maybe the protocol differences uses more memory making the X9 Lite not appropriate for Lua. It's also possible that the OpenTX team hasn't sorted the memory out yet. |
thanks for response. I checked all your recommendations before posting. my spirit flybarless lua script works though. I added and tried that after seeing your script not work. |
@P-I-Engineer Lua Telemetry uses a LOT of memory. You could try using the latest
Make sure all other Lua scripts are not on any screen, reboot Tx. You may be able to startup Lua Telemetry, but then it will throw this error when entering the config menu or going to a particular view (the pilot view uses the most memory). Noting where it throws the error would also be helpful. |
same error, doesn't startup. is it because it calls to figure out what radio it is, and it's not being identified correctly? |
@P-I-Engineer Good point! Let me see if I can simulate the X9 Lite |
@P-I-Engineer I had to use OpenTX 2.3 to simulate the X9 Lite and the OpenTX 2.3 companion is really jacked up. The transmitter detection wasn't correct in Lua Telemetry, but it didn't cause any harm either. I updated the As OpenTX 2.3 is a pre-release, my guess is one of two things:
As a fun experiment, maybe try the following to see what kind of memory is available before running any Lua scripts:
|
lua scripts [D]70[I]70 |
@P-I-Engineer On my Q X7 Maybe you can use OpenTX firmware with all the |
nightly N41 is working! cool, a step in the right direction. i have it set |
@P-I-Engineer You can uncheck multimodule and lua too. The lua option is only for lua scripts for models. I know it seems strange to disable the lua option, but only the luac option is needed. I believe all of the options that start with |
I am having the same issue with OpenTX 2.2.3 and a Taranis QX7S. |
@r3dsn0wz It's one of two things:
Also see the following: https://github.com/iNavFlight/LuaTelemetry/wiki/Tips-&-Common-Problems at the top. |
i believe my issue was related to luac not being checked. I'm assuming it wasn't checked when Frsky released their firmware. |
@P-I-Engineer Awesome! I made some changes to the readme and Wiki to insure it's known to check the |
I just updated to opentx 2.2.4 which has the luac build option checked. |
@r3dsn0wz Just an FYI, it seems v1.7.1 of Lua Telemetry requires the luac build option (I didn't realize this). v1.7.0 and v1.7.2 won't need the luac build option checked. I made a change in v1.7.1 for my own debugging and didn't realize this at the time. But, it's been corrected in the next release (or in the the |
roller wasn't working in 1.7.1 also, it works in logs 1.7.2 though...fyi |
@P-I-Engineer "roller"? |
The + - buttons on x9 lite are a roller like the jumper t16
…On Sun, Jul 14, 2019, 12:46 PM Tim Eckel ***@***.***> wrote:
@P-I-Engineer <https://github.com/P-I-Engineer> "roller"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#331>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACW5TRZKYDBWG4YY6VWNP53P7N7ALANCNFSM4H6X3Q3Q>
.
|
@P-I-Engineer Ah yes, It's detecting that now. It seems in 2.3 of OpenTX they've created new control constants that will make it easier on my end for new transmitters. |
This is on opentx 2.3,
frsky firmware x9lite_190605
script syntax error ?:0
attempt to calla nil value
has anyone tested the x9 lite yet?
thanks
The text was updated successfully, but these errors were encountered: