diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-02 12:29:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-02 12:29:02 +1300 |
commit | d4e12c019193026eda930d3bf4e1246b3391a2b4 (patch) | |
tree | ce51175866c7d815cb2ae4103cf016f0faee25e4 /src/org/traccar | |
parent | 352a94ba7c3c9162afb4175e6c49515188544797 (diff) | |
download | trackermap-server-d4e12c019193026eda930d3bf4e1246b3391a2b4.tar.gz trackermap-server-d4e12c019193026eda930d3bf4e1246b3391a2b4.tar.bz2 trackermap-server-d4e12c019193026eda930d3bf4e1246b3391a2b4.zip |
Use knots in GPS103
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index 2e3620179..d81655933 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -154,7 +154,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { position.setAltitude(0.0); // Speed - position.setSpeed(Double.valueOf(parser.group(index++))); + position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957); // Course String course = parser.group(index++); |