Closed arrenbrecht closed 2 weeks ago
It might help if you post the code that is giving you problems. All of my scripts run fine on 2.10.4 in the simulator.
You need to set the env variable LANG=C
Where and how do I have to set the variable?
My knowledge is limited to linux:
in your shell
:
$ export LANG=C
Afterwards start your simu/cpn from this shell.
Thank you, it works
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Companion
Current Behavior
Telemetry Lua scripts with float variables are aborted in the Companion Simulator with the following error message mailformed number near '.1'
I suspect that an LUA compiler is included that can only process integer variables.
LUA scripts on the transmitters run flawlessly.
Expected Behavior
Lua scripts with float variables should also be able to be started in the Companion Simulator.
Steps To Reproduce
start any LUA script with float variables
Version
2.10.4
Transmitter
RadioMaster Pocket, RadioMaster TX16S / TX16SMK2, RadioMaster Zorro
Operating System (OS)
Linux
OS Version
Linux Mint
Anything else?
No response