diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-05-09 21:46:42 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-05-09 21:46:42 +1200 |
commit | 7ca0f09a4f07ece35e3294f9c22206205940440a (patch) | |
tree | 37965bf565fc23282f44c3b4d24dfd389ecf2dc7 | |
parent | 53481fc2c7eafc0550a1468d30be065fbe4e0a1f (diff) | |
download | trackermap-server-7ca0f09a4f07ece35e3294f9c22206205940440a.tar.gz trackermap-server-7ca0f09a4f07ece35e3294f9c22206205940440a.tar.bz2 trackermap-server-7ca0f09a4f07ece35e3294f9c22206205940440a.zip |
Fix Wialon protocol decoder (fix #698)
-rw-r--r-- | src/org/traccar/protocol/WialonProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WialonProtocolDecoder.java b/src/org/traccar/protocol/WialonProtocolDecoder.java index 3a1d02c9a..1ece527d8 100644 --- a/src/org/traccar/protocol/WialonProtocolDecoder.java +++ b/src/org/traccar/protocol/WialonProtocolDecoder.java @@ -123,7 +123,7 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder { position.setLongitude(longitude); // 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++))); |