From f4d73d79fbee9859ce8da66c7c0ad4af8bca9b9e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 24 Jul 2013 22:23:30 +1200 Subject: Fix TR20 speed value --- src/org/traccar/protocol/Tr20ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/protocol/Tr20ProtocolDecoder.java b/src/org/traccar/protocol/Tr20ProtocolDecoder.java index 5b48566b7..b1636a120 100644 --- a/src/org/traccar/protocol/Tr20ProtocolDecoder.java +++ b/src/org/traccar/protocol/Tr20ProtocolDecoder.java @@ -119,7 +119,7 @@ public class Tr20ProtocolDecoder extends BaseProtocolDecoder { position.setLongitude(lonlitude * hemisphere); // Speed - position.setSpeed(Double.valueOf(parser.group(index++))); + position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957); // Course position.setCourse(Double.valueOf(parser.group(index++))); -- cgit v1.2.3