Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support american units #25

Open
squilter opened this issue Feb 6, 2015 · 2 comments
Open

support american units #25

squilter opened this issue Feb 6, 2015 · 2 comments

Comments

@squilter
Copy link
Member

squilter commented Feb 6, 2015

No description provided.

@m4gr3d
Copy link
Member

m4gr3d commented Feb 6, 2015

Take a look at how i do it in tower-wear. This package contains all the code used to handle unit conversion.

That code depends on the library provided by this jar file.

I'm debating having this library included into the 3DR Services client library, and making it default. My thinking is that no all apps would need to convert units, so it would be a bloat for their use case.

@squilter
Copy link
Member Author

squilter commented Feb 6, 2015

I only display two units. Altitude in meters, and speed in m/s. I was thinking I would add a checkbox to the activity. If that checkbox is checked, then I would multiply these values by their respective magic numbers before forwarding them to the pebble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants