diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2011-09-05 08:07:43 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2011-09-05 08:07:43 +0000 |
commit | 68d855d0f3c7fa09003c8ae497060831c7bdce7f (patch) | |
tree | 6ca413488db8c2697550b66dc89ddb0beff7ae56 /src/net/sourceforge/opentracking/protocol/tk103 | |
parent | 39e60fdb4c4427d73881e4dc692c87b135582a8e (diff) | |
download | trackermap-server-68d855d0f3c7fa09003c8ae497060831c7bdce7f.tar.gz trackermap-server-68d855d0f3c7fa09003c8ae497060831c7bdce7f.tar.bz2 trackermap-server-68d855d0f3c7fa09003c8ae497060831c7bdce7f.zip |
Diffstat (limited to 'src/net/sourceforge/opentracking/protocol/tk103')
-rw-r--r-- | src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java b/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java index 2ff6ce949..79350307c 100644 --- a/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java +++ b/src/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoder.java @@ -126,6 +126,9 @@ public class Tk103ProtocolDecoder extends OneToOneDecoder { if (parser.group(index++).compareTo("W") == 0) lonlitude = -lonlitude; position.setLongitude(lonlitude); + // Altitude + position.setAltitude(0.0); + // Speed position.setSpeed(Double.valueOf(parser.group(index++))); |