diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-03-05 03:11:53 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-03-05 03:11:53 -0500 |
commit | 251f302cf3e3bc9a2e014b8d56bb86ec5b9308eb (patch) | |
tree | 12429a10a2b28dc6b21a9d135d8d44c560558007 /gps | |
parent | 5912b63ad5df9e678be7c1950f1d7d150ba9f51a (diff) | |
download | gpsd-251f302cf3e3bc9a2e014b8d56bb86ec5b9308eb.tar.gz |
Add a conversion constant requred for DBT sentences.
All regression tests pass.
Diffstat (limited to 'gps')
-rw-r--r-- | gps/misc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gps/misc.py b/gps/misc.py index fa1b7c8c..42ef840f 100644 --- a/gps/misc.py +++ b/gps/misc.py @@ -8,6 +8,7 @@ import time, calendar, math # some multipliers for interpreting GPS output METERS_TO_FEET = 3.2808399 # Meters to U.S./British feet METERS_TO_MILES = 0.00062137119 # Meters to miles +METERS_TO_FATHOMS = 0.54680665 # Meters to fathoms KNOTS_TO_MPH = 1.1507794 # Knots to miles per hour KNOTS_TO_KPH = 1.852 # Knots to kilometers per hour KNOTS_TO_MPS = 0.51444444 # Knots to meters per second |