dl9rdz / rdz_ttgo_sonde

270 stars 94 forks source link

probe distance in Meters #331

Closed 14ri004 closed 1 year ago

14ri004 commented 1 year ago

good evening, when the probe is more than 100km away it's good, but at 99km the distance indicates meters, would it be possible to have the distance in meters from only 1000 meters, thank you

20221102_135452

hr-ru commented 1 year ago

In the screens file, you can change GD to GD5 for getting a 5-digit-version (including the unit), so it will be km for anything >= 10km, and meters below (i.e. you will have 10.0km but then 9999m). Is that good enough?

14ri004 commented 1 year ago

good evening, indeed if it does the job then no worries, thank you for your help

14ri004 commented 1 year ago

Hello, I tried GD5 but unfortunately it does not work, I always have the figures in Meters below 100km

14ri004 commented 1 year ago

hello, still no solution to have the distance of the probe in Meters and only below 10km, up to 100 km it's ok, but below it goes to 99999 m instead of 99 km, I have test the GD5 manipulation but it does not change the result, is there a solution, thank you

dl9rdz commented 1 year ago

Are you sure you changed the right file and/or screen? I cannot test it myself right now, but this should work. I can check myself later some time in December.

14ri004 commented 1 year ago

hello, yes change made in the correct screen and on 2 ttgo, it does not change the result on the distance of the probe, above 100 km ok, but below it is in meters 99999m

kmp56 commented 1 year ago

confirmation, GD5 change nothing.... (LoRa32 V2.1 _ 1.6)

dl9rdz commented 1 year ago

Alright, there is a bug. Or was. Should be fixed in devel20221217 (without testing) Now GD5 should do what it should have been doing..

kmp56 commented 1 year ago

≤ 100km is ok, still km, e.g. 42km also km. I can't check ≤ 10km - the probe is too far unfortunately. I hope there will be meters...

dl9rdz commented 1 year ago

Yes, <10km it should be meters.

14ri004 commented 1 year ago

Hello, indeed it works in KM below 100 km, I'm waiting to see below 10km, but it seems perfect to me, thank you and have a good Sunday

kmp56 commented 1 year ago

So everything should work ok ;) BTW the test sonde on my balcony shows correctly - meters. Thanks for the great job! Merry Christmas!

14ri004 commented 1 year ago

T-BEAM RDZ

20221218_140006 20221218_143721