From d4e12c019193026eda930d3bf4e1246b3391a2b4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 2 Mar 2013 12:29:02 +1300 Subject: Use knots in GPS103 --- src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') 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++); -- cgit v1.2.3