rdz_ttgo_sonde
rdz_ttgo_sonde copied to clipboard
Imperial Units
Is there a way to give the option to select metric or imperial units in the setup?
Thank you!!!
Ernie
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:
- horizontal speed: currently configurable km/h or m/s => mph or ft/s?
- vertical speed: currently m/s => ft/s?
- altitude: current m => ft?
- distance: this is more complicated due to the limited space on the small LCD display. currently it is either 5 digit (automatic: either "999km" or "9999m" if below 10km), or 6 digit (9999km or 99999m if below 100km) => 5 digit (999mi / 9.9mi if below 10mi / 999ft if below 1000ft)? 6 digits 9999mi..9.99mi / 9999ft if below 10000 ft? Sorry, I never use imperial units, so no idea what is usually used.
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
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?
@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.
Could the local machine livemap.js feed be modified to show imperial units, or is that data part of the API?
The API delivers metric values, and I would not change that. It would be feasible to add conversion code to livemap.js.
Cool. Just want the live map to be imperial. I'll poke around and see how bad I mess it up. 😀
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
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...
@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.