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

ETHOS script not showing GPS data despite it being in telemetry #202

Closed jaroszmm closed 10 months ago

jaroszmm commented 1 year ago

I just started with Yaapu on ETHOS, using it on OpenTX with no bigger issues (apart from a lot of lag on AP/CRSF combo). But on ETHOS I noticed something interesting.

The GPS Coordinates data is not displayed on the screen. On my first flight I noticed there was no data at all. On my second flight the data was only zeroes all the time. When I used "reset widget" option the data was gone completely again.

However when I set up 2nd screen in ETHOS and used one widget to display telemetry GPS data, the data was present there, so I'm pretty sure the GPS data is being transmitted to Yaapu but not decoded?

Radio is Tandem X18 on the newest Firmware available.

image

yaapu commented 1 year ago

Hi, I'm sorry but have no way to reproduce your issue, I do not own the radio and on X20, X12 and X10 works fine, it also works on the X18 simulator, so really no clues here

jaroszmm commented 1 year ago

Hi, I'm sorry but have no way to reproduce your issue, I do not own the radio and on X20, X12 and X10 works fine, it also works on the X18 simulator, so really no clues here

Thank you. Do you maybe remember what crossfire firmware was used in the test? I wonder if this is maybe some sensor issue or something.

yaapu commented 1 year ago

mhmm you made me realize that GPS data is NOT available via CRSF/ELRS as custom ardupilot telemetry but rather as standard CRSF telemetry, that might be the reason why I don't catch those packets...

jaroszmm commented 1 year ago

I see. So, anything that can be done/changed from my side?

jaroszmm commented 1 year ago

A bit of update - I tried both custom and official Arduplane and on both I am having the same issue. Last thing I'm going to try out is R9 to see if this is CRSF issue or not.

jaroszmm commented 1 year ago

Update #2 R9mini of F765 with custom Arduplane has no issues displaying GPS data.

So it seems the issue is with CRSF protocol? I tried disablink Mavlink but no luck either.

yaapu commented 1 year ago

need to replicate thsi because I'm sure it worked before with ELRS 2.x, mhmm

jaroszmm commented 1 year ago

And one more information. During one of the crossfire tries somehow I got the bottom GPS data line displaying GPS data however it looked like it got a single data because the GPS coordinates starting with 18.xxxx never updated later. So like somehow it read some GPS data from CRSF but that was by accident.

I hope you will find the solution to my issue as I'm not sure I want to go R9 on my Arduplane planes :D

jaroszmm commented 1 year ago

A bit of update. Arduplane, R9, X18 - no issues, widget is working fine all the time, no lagging etc. Arducustom.

VinceHogg commented 12 months ago

Same problem here. All was working ok with internal Frsky X20 TX but with CRSF external module, get no GPS data on Yaapu. GPS data is visible on sensors but yaapu screens say 0,0. Other Yaapu telemetry seems ok.

Any update?

yaapu commented 11 months ago

@VinceHogg would you test a fix?

VinceHogg commented 11 months ago

@yaapu . Yes please.

jaroszmm commented 11 months ago

I can try it too on my X18 with crsf nano tx if this might help.

yaapu commented 11 months ago

@yaapu . Yes please.

yaaputelemetry.zip X20/X20S version

unzip over (overwrite) same files in [SD CARD ROOT]\scripts\yaaputelemetry In the widget config menu there's a nre option to select a GPS source, select your gps sensor and "should" work

yaapu commented 11 months ago

I can try it too on my X18 with crsf nano tx if this might help.

yaaputelemetry_x18_twlites.zip

jaroszmm commented 11 months ago

I can try it too on my X18 with crsf nano tx if this might help.

yaaputelemetry_x18_twlites.zip

Thank you. I will come back with results soon.

VinceHogg commented 11 months ago

@yaapu Working ! At least on the bench. Not flown yet of course. Thanks for you excellent work.

VinceHogg commented 11 months ago

Is there a way to zoom with buttons? looks like the 'zoom channel' option is not there on Ethos?

yaapu commented 11 months ago

Is there a way to zoom with buttons? looks like the 'zoom channel' option is not there on Ethos?

nope, project started as touch only. Later ethos has been released for non touch radios like x10/x12 and I haven't yet caught up :-(