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
440 stars 141 forks source link

continuous restarting/initializing #155

Closed david9981 closed 2 years ago

david9981 commented 2 years ago

I am using latest version of Ardupilot/EdgeTx/Elrs and Yaapu widget Dev1.9.6. Radio is TX16s MKII. Since no compass is used, it is normal and expected EKF logic that I constantly get "Bad AHRS" until after GPS origin is set. Even then, I would still constantly get "Bad AHRS" message until yaw alignment is completed, which happens moments after airborne.

I tried to configure the alert message to appear every 10 sec (default) but it still continue to pop up fast. The biggest issue is after every alert message, the widget would "restart" itself, initializing and loading layout, which makes it almost unusable on ground. Please assist. video attached.

https://www.youtube.com/shorts/BB2MrHJUxGc

ardisd commented 2 years ago

I am having the same issue with a radiomaster TS16 MKII running edgeTX version 2.7.1 Yaapu widget Dev1.9.6

yaapu commented 2 years ago

Hi, edgetx changed the way global variables are handled from lua, please check the workaround here https://www.rcgroups.com/forums/showpost.php?p=49299729&postcount=852