Syntax error on RadioMaster Boxer
jimsynz opened this issue · 9 comments
Hi folks!
Describe the bug
I'm seeing a syntax error when attempting to run the widget (both the latest release and master):
Syntax error
?:0
attempt to index field '
table' (a nil value)
This happens regardless of whether a model is connected or not.
My guess is that it's actually a memory-related issue, but I'm logging it here in case other folks also run across it.
My setup:
- RadioMaster Boxer (ELRS version)
- ExpressLRS 3.2.0
- Packet rate: 100Hz Full
- Telem ratio: 1:2
- Switch mode: 12ch mixed
- Model match: off
- TX power: 1000mW Dyn
- No other lua scripts running
- Only a single model, named "INAV"
To reproduce
(with the INAV widget configured as a telemetry screen)
- Press "TELE" button
Expected behavior
I should see the telemetry widget.
Radio and model settings
This zip file contains only the etx
file as the cfg
directory is empty on my radio.
As your boxer.etx
works OK in the EdgeTX Companion (at least development Companion29), without the hardware it's unlikely we can help you.
Agreed, but at least it's searchable now.
so,how to Slove thequestion
so,how to Slove thequestion
- Test it on the EdgeTX nightlies, if it works, wait patiently for EdgeTX 2.9
- Otherwise, send (or persuade the manufacturer to send) a Boxer (TX, relevant RX) to the maintainer in order that the issue may be investigated.
I am seeing this error on my Boxer radio as well. Telemetry worked at first while I was ground testing. On my first flight with this plane, the widget just showed invalid numbers for everything, but audio alerts worked though the battery ones were completely wrong. Then I turned on telemetry logging on my radio and changed the battery alert levels in the lua script, and then next time I went to fly it gets this syntax error every time I try to run the lua script. Seems this script simply isn't compatible with the Boxer radio.
Hi there.
Just pulled master and copied it onto the boxer, now when switching to the telemetry widget I see the following:
Syntax error
iNav.lua:541
attempt to call a nil value
I'm seeing the same thing and commented about it on the related ticket. The answer was just that the Boxer isn't supported. Shame since it actually was working fine on my Boxer as long as I didn't have any saved log files. With this change it just won't work at all.