Skip to content
New issue

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

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

Already on GitHub? # to your account

#1051 Add setting to display speed in mph #1181

Merged
merged 5 commits into from
Aug 2, 2018
Merged

Conversation

NextSim
Copy link
Contributor

@NextSim NextSim commented Jun 20, 2018

No description provided.

@sytelus
Copy link
Contributor

sytelus commented Jun 21, 2018

This seems like good change. However, can we make it slightly more cleaner and generic? I would suggest we add two settings:

  1. speed_unit_factor (defaults to 1)
  2. speed_unit_label (defaults to "m/s")

Then folks can change above to km/hr or miles/hr or miles/day whatever else they need for their specific vehicle type.

@NextSim
Copy link
Contributor Author

NextSim commented Jun 22, 2018

Sounds good

NextSim and others added 4 commits June 22, 2018 11:33
…actor

Allows the user to specify any units they want and then convert the speed as appropriate.  Defaults to m/s with a scale factor of 1.
@NextSim
Copy link
Contributor Author

NextSim commented Aug 1, 2018

I think this is ready to be merged in. Is there anything else I need to do?

@sytelus sytelus merged commit 555eb0e into microsoft:master Aug 2, 2018
sytelus added a commit that referenced this pull request Aug 3, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants