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
431 stars 136 forks source link

Yaapu telemetry "initializing/loading layout" constant error #164

Closed DarioHxC closed 1 year ago

DarioHxC commented 1 year ago

Every time I flip the arm or mode switch, I get this error "initializing/ loading layout" as you can see in the video. Any help would be really appreciated.

https://youtu.be/2YAY7X4GNIE

Johnex commented 1 year ago

I have the same on EdgeTX 2.7.1. The Lua script works fine but every time a message arrives, it resets like @DarioHxC had.

@yaapu Is this a known issue so far?

txmrb commented 1 year ago

same issue for me, Edgetx 2.7.1, ExpressLRS 2.5.1 and Yaapu Version 1.9.6 (current dev version). Since I am using the dev tree for ExpressLRS support I didnt report the issue. What yaapu Versions are you running?

Johnex commented 1 year ago

EdgeTX v2.7.1, Crossfire v6.19, Arducopter v4.2.2, Yaapu 1.9.6 dev.

txmrb commented 1 year ago

Do you have the same issue on the stable Yaapu Version? My R-XSR died and I have only eLRS telemetry receivers so can't downgrade to 1.9.5. If the same issue appears on 1.9.5 it would point to EdgeTX rather than Yaapu

txmrb commented 1 year ago

I mean @Johnex since we both have the same EdgeTX version, same Yaapu Version and same issue. So if he can reproduce the issue on Yaapu stable we'd know its something with EdgeTX and not the script itself. Just to get some more details for the developers.

Johnex commented 1 year ago

I will test in a few days, but i remember that the stable version doesn't have the CRSF variable sized packets, so it won't work properly (or at all) with the 6.19 crossfire v3 protocol.

Also, there was an issue with Yaapu and EdgeTX because of a how Yaapu was using the GVars. Seems like it's the issue we are seeing, but the EdgeTX guys say it's fixed/working?

https://github.com/EdgeTX/edgetx/issues/2021

It's hard to understand if they are labeling "working with restarts" as working?

Johnex commented 1 year ago

Ahh, there is a fix for the issue here:

https://www.rcgroups.com/forums/showpost.php?p=49299729&postcount=852

TLDR; Go to Global Variables, GV9, tick the box next to FM8 to change it from FM0 to 0. Do this for all models you want Yaapu on.

It's still a bug so lets keep the issue open though.

yaapu commented 1 year ago

solved by Horus Version 2.0.0 beta2, no more need for GVars

DarioHxC commented 1 year ago

Great work! Thanks for taking the time. So should I install that version?

yaapu commented 1 year ago

@DarioHxC give it a try, should be pretty stable, I did many hours of simulated flights

DarioHxC commented 1 year ago

Grazie mille, Alessandro!