portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2/H4
https://hackrf.app
GNU General Public License v3.0
3.37k stars 546 forks source link

Measurement system selection #1788

Open fagci opened 9 months ago

fagci commented 9 months ago

Is your feature request related to a problem? Please describe. ADS-B flight height is in "ft", for me better is meters.

Describe the solution you'd like Setting of distance, temperature, speed measurement units.

NotherNgineer commented 9 months ago

Good idea. The map shows distance in km, so there's certainly some inconsistencies. Some apps such as TPMS and Weather allow you to choose between SAE & Metric units, but perhaps this should be a device-level setting.

jLynx commented 8 months ago

I did the TPMS one. If I get some time I can do this too, but if anyone else wants to in the meantime, go ahead

NotherNgineer commented 8 months ago

Do we want to add configurable units (as in TPMS / Weather / etc) to the few apps that are missing them, --or-- remove the configurable units from every app and replace them with a new Settings -> Units app that would allow the user to select the user-preferred units for each of these parameters (affecting what's displayed in every app)?:

I assume that we don't need any choice of units for these:

This one would be nice, but would require too much memory I think:

fagci commented 8 months ago

I will vote for settings, but maybe in each app selection of roundind to thoudands (ex.: kilometers). Fathoms in depth? Think its same system, as distance will be.

Volume: m^3.

For language English is enough, i think. Multilang support not needed for this type of software.

zxkmm commented 8 months ago

I’ll vote for different unit set for different app. Cuz different field (airline, weather, car, industry ) use different unit as regular. About languages, I think it’s not possible to bring Chinese into PP, other Latin based languages would be good additions.

jLynx commented 8 months ago

I think we should have defaults in setting but make it so we can override in the apps. For instance, the I prefer PSI for TPMS when though the metric one is kPa (and I'm from a metic country)

jLynx commented 8 months ago

Or allow us to configure each item, like temperature, pressure, etc in setting. Then we won't need to override in the app if we can specify the specific unit we prefer to show