Removed unneeded files, also fixed heading calculation

Tags #story[829]
This commit is contained in:
Michael Rausch
2017-04-30 23:29:15 +12:00
parent d07c660eb9
commit e7f9954970
21 changed files with 15 additions and 1292 deletions
@@ -133,9 +133,7 @@ public class BoatLocationMessage extends Message {
allocateBuffer();
writeHeaderToBuffer();
heading = (heading + 180.0) % 360.0;
long headingToSend = (long)((heading/360.0)*49152.0);
long headingToSend = (long)((heading/360.0) * 65535.0);
putByte((byte) messageVersionNumber);
putInt(time, 6);