Commit Graph
17 Commits
Author SHA1 Message Date
hba56 c9a968a5fd added decoder test for boatlocation
-refactered networking test file structure
-boatlocationdecoder now makes a boatlocation message with its data
-boatlocationmessage sequence number changed to an int
-racevisionbyteencode changed device type to just be a byte
-fixed the short conversion in racevisionbyteencode
-added boatlocation decoder test

#story[778, 782]
2017-04-23 12:20:05 +12:00
hba56 615115160d added decoders for avg wind, course wind and mark rounding
-refactered networking test file structure
-added average wind decoder
-added course wind decoder
-added mark rounding decoder
-updated boat location decoder
-added true wind direction to the boatLocationMessage class
-added true wind direction to raceVisionByteEncoder method for boat location

#story[778, 782]
2017-04-23 10:51:10 +12:00
hba56 43d087c764 Merge remote-tracking branch 'origin/networkingTest' into networkingTest 2017-04-21 17:41:32 +12:00
hba56 ec0747ab9a added decoders for race start status and race status
-refactered decoders into own package
-added race status decoder
-added race start status decoder
-started on the boat location decoder

#story[778, 782]
2017-04-21 17:41:18 +12:00
hba56 ee24ecaadc Merge remote-tracking branch 'origin/networkingTest' into networkingTest 2017-04-21 16:30:55 +12:00
hba56 8e79164b69 updated encoder and decoder with test for decoder
-added binary message decoder test
-updated binary message encoder
-updated binary message decoder
-added enum for message type

#story[778, 782]
2017-04-21 16:30:39 +12:00
hba56 655b5787a2 binary message encoder as well test for the decoder
-added binary message encoder
-added test for the decoder
-bug with the sync number 2

#story[782]
2017-04-21 14:22:47 +12:00
hba56 f56bb747a7 Merge branch 'networkingTest' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into networkingTest 2017-04-21 12:58:21 +12:00
hba56 a99f91a075 binary message decoder as well as refactor of xml encoder and decoder placement
-added binary message decoder

#story[782]
2017-04-21 12:58:11 +12:00
hba56 9d9c491372 XML Message Decoder added with test
-added XMLMessageDecoder to decode xml files from byte array
-added test class for xml decoder
-renamed getByteArray method to encode
-made longToSixBytes private

#story[778, 782]
2017-04-20 14:26:09 +12:00
hba56 79c5b93935 XML Message Encoder and tests class added
-added XMLMessageEncoder to encode xml files into byte array
-added test class for xml encoder
-added regatta.xml to the test resources

#story[778, 782]
2017-04-20 13:36:09 +12:00
hba56 8384b1a2ef updated .xmls in the format used by AC35
#story[778, 782]
2017-04-19 16:25:19 +12:00
hba56 b5bd1c9d6d updated to have main methods for the server and client
#story[778, 782]
2017-04-19 15:04:29 +12:00
hba56 43af929701 Started a new branch for the networking side of story 29, 30
-added a basic tcp server and client

#story[778, 782]
2017-04-19 15:00:52 +12:00
hba56 f5472bf595 Merge remote-tracking branch 'remotes/origin/master' into story28
-anchors now fills stage
-added time label

# Conflicts:
#	pom.xml
#	src/main/java/seng302/Controllers/RaceController.java
#	src/main/resources/scenes/racepane.fxml

#pair[fwy13, hba56]
#story[761]
2017-04-19 13:08:06 +12:00
hba56 edabe58b03 Merge remote-tracking branch 'remotes/origin/master' into story28
-anchors now fills stage
-added time label

# Conflicts:
#	pom.xml
#	src/main/java/seng302/Controllers/RaceController.java
#	src/main/resources/scenes/racepane.fxml

#pair[fwy13, hba56]
#story[761]
2017-04-19 12:48:03 +12:00
hba56 a00b066f8d Quick fix to zoneId to make it set correctly
- removed local zoneId
#story[761]
#pair[fwy13, hba56]
2017-04-19 11:55:11 +12:00