yaapu / FrskyTelemetryScript

A LUA telemetry script and widget for the Horus X10(S),X12 and Taranis X9D+,X9E,QX7 and X-Lite radios using ArduPilot frsky passthru protocol
GNU General Public License v3.0
432 stars 136 forks source link

Syntax error when using Dynamic or 50Hz RF Profile #118

Closed rimb05 closed 3 years ago

rimb05 commented 3 years ago

On my X7 using the latest script version (1.94 beta 1) and OpenTX 2.3.12 I get a Syntax Error (with no additional debug info) when trying to start the script. The crash occurs as soon as the script starts receiving telemetry. There's a couple of error beeps, then the crash. I'm using a Crossfire Micro TX and Nano RX. The problem only happens if I choose 50Hz or Dynamic in the receiver RF profile. 150Hz doesn't cause the error, and the script seems to work fine with this RF profile. Hope this helps.

rimb05 commented 3 years ago

After a couple of test flights, the syntax error occasionally still appears when first starting up. If I don't get the error in the beginning, it never appears again during the flight, so it seems like it's something that gets sent by ArduPlane during init. By the way, I'm using the latest Dev version of 4.10 ArduPlane.

yaapu commented 3 years ago

hi please see https://github.com/yaapu/FrskyTelemetryScript/issues/116