Speed in km/h & mph
Closed this issue · 4 comments
Would it be possible to enter the speeds in kilometers per hour and miles per hour? Maybe have a global switch in the settings?
NMEASimulator is designed to provide a NMEA data stream (mostly for testing type use cases) it just uses common units for initiating that stream.
This use case doesn't generally require the need for multiple unit options for setting values.
Can you please provide details of your use case that requires the ability to select units for the "seed" values.
I am using NMEAsimulator for prototyping an embedded device that will use later a GPS receiver connected via serial. The embeded device will behave differently at certain speeds. This is what I test with NMEAsimulator. I tick the "override" checkbox and set the speed via slider. Those speeds are given in km/h & mph. In NMEAsimulator it is currently only possible to set the helm speed in integer knots. The NMEA RMC message contains the speed in knots with one decimal place.
It would help a lot if it was possible to
(A) set the helm speed with this one decimal place (then I could round the mph/kph values to the nearest knots value and do my test) or, even better:
(B) if the helm speed could be set in mph/kph (also with one decimal place) and NMEAsimulator would then round to the nearest knots value and enter it in the RMC message.
At this time I will look to address (A) as it is the least effort and can issue a patch release in a short period of time.
v1.2.3 release addresses this.