dl9rdz / rdz_ttgo_sonde

279 stars 99 forks source link

Imperial Units #355

Open Ernie34 opened 1 year ago

Ernie34 commented 1 year ago

Is there a way to give the option to select metric or imperial units in the setup?

Thank you!!!

Ernie

dl9rdz commented 1 year ago

Currently there is no such option, but I could put that on the TODO list (with low priority).

I would not change any units in network APIs, there it is up for the remote software to convert things according to user preferences,

For the LCD or TFT display, what would be the right units for those values:

wrevenaugh commented 11 months ago

Hans, it would be ABSOLUTELY WONDERFUL if you could output imperial! Horizontal Speed - Miles Per hour Vertical Speed - Miles per hour Altitude - Feet Distance: Miles, then below 1 mile - Feet. THNAK YOU SO MUCH! Bill

bazjo commented 11 months ago

The imperial option for vertical speed that our software supports / our imperial customers use is ft/s. Also, maybe decimal mile below 1 mile would be an easier option?

wrevenaugh commented 11 months ago

@bazjo I think we are saying the same thing re: when distance is under 1 mile report feet? When you say "our software" do you mean to say you have a version with imperial units? Or are you a fellow developer on Hans's team? I also ran across your name when I was trying to get TFT SPI Color screens working. Is there a discord or a forum where folks go to talk about this software and their mods? I feel like there are LOTS of people using this software and I can't really find any youtube videos or anything similar.

flyincajun commented 6 months ago

Could the local machine livemap.js feed be modified to show imperial units, or is that data part of the API?

dl9rdz commented 6 months ago

The API delivers metric values, and I would not change that. It would be feasible to add conversion code to livemap.js.

flyincajun commented 6 months ago

Cool. Just want the live map to be imperial. I'll poke around and see how bad I mess it up. 😀

wrevenaugh commented 6 months ago

To be clear guys, I'm looking to get Imperial on the TTGO display itself. @flyincajun - would you have any idea where in the RX_FSK.ino (and accompanying sub directories) to go to accomplish this? Thanks, Bill

dl9rdz commented 6 months ago

For the TTGO display, this needs to go into Display.cpp. I have on my TODO list, I guess I will have time for that around June this...

wrevenaugh commented 6 months ago

@dl9rdz Thanks! I'll check that out. Can you also please help me to find people or some help (or where to go to look) who have used bigger screens ? I have not had much luck there. I have gotten it to display on some, but it's always disproportionate, and the fields and values are all screwed up.