Wakes still broken. Implemented dashed lines that track the progress of individual boats.

#implement #story[483]
This commit is contained in:
Calum
2017-04-27 13:57:19 +12:00
parent 65c0e6f77d
commit 67a702ffcd
7 changed files with 105 additions and 63 deletions
@@ -21,7 +21,7 @@ public class StreamPacket {
//switch the packet type to deal with what ever specific packet you want to deal with
if (this.type == PacketType.XML_MESSAGE){
//System.out.println("--------");
//System.out.println(new String(payload));
System.out.println(new String(payload));
StreamParser.parsePacket(this);
}
}
@@ -238,7 +238,7 @@ public class StreamParser extends Thread{
long lon = bytesToLong(lonBytes);
long heading = bytesToLong(headingBytes);
if ((int)deviceType == 1){
if ((int)deviceType == 1 || (int)deviceType == 4){
// System.out.println("boatId = " + boatId);
// System.out.println("deviceType = " + (long)deviceType);
// System.out.println("seq = " + seq);