100 Commits
Author SHA1 Message Date
Erika Savell 0c235b0c02 Switched constant back to 3
#sotry[875]
2017-05-25 12:56:25 +12:00
Erika Savell 5f23f335e5 Added est time annotation to annotations that can be hidden and shown
#story[875]
2017-05-25 02:29:56 +12:00
Erika Savell 0a022e275e Added checkbox for est time to next mark to gui
#story[875]
2017-05-25 02:11:09 +12:00
Erika Savell 92e5dc4490 Cherrypicked changes allowing vis to display est time from bugged branch to current master.
#story[875]
2017-05-25 01:34:23 +12:00
Erika Savell e9f3467d97 Reverted commits pushed to master accidentally
#story[875]
2017-05-25 01:23:44 +12:00
Erika Savell f0da2d4fee Merge remote-tracking branch 'origin/sprint4_master' into 33CherryPick 2017-05-25 01:15:14 +12:00
Erika Savell 230b458e5d Cherrypicked changes allowing vis to display est time from bugged branch to current master.
#story[875]
2017-05-25 01:14:54 +12:00
Erika Savell dc9cdab4d7 Merge branch 'AuditRefactors' into 'sprint4_master'
Audit Refactors

- Created AC35RaceStatus class
- Deleted wait loop into a Thread.sleep()
- Deleted Entirely commented out class....
- Deleted duplicate draw that appeared again
#story[873]

See merge request !4
2017-05-25 00:49:07 +12:00
Erika Savell 1234cbbb1f Merge branch 'story34_v2' into 'sprint4_master'
Story34 v2



See merge request !7
2017-05-22 14:16:39 +12:00
Erika Savell fb6420524d Adding a parameter to test command to debug missing library 2017-05-13 11:57:47 +12:00
Erika Savell 493932b93f Merged with visualiser side of mark boats
#story[881]
2017-05-12 10:27:55 +12:00
Erika Savell 0ed02962a1 Merge branch 'Story49Vis' into 49Mock
# Conflicts:
#	visualiser/src/main/java/seng302/Mock/StreamedCourseXMLReader.java
#	visualiser/src/main/java/seng302/Model/CompoundMark.java
#	visualiser/src/main/java/seng302/Model/ResizableRaceCanvas.java
#	visualiser/src/main/java/seng302/VisualiserInput.java
2017-05-12 09:53:07 +12:00
Erika Savell 5708db1936 Ignoring all new race tests
- Thought they they would be ok bc not calling animation timer directly
- Was mistaken

#story[881]
2017-05-11 16:33:00 +12:00
Erika Savell 799e588145 Unignored a couple of GPS tests
- The issue was with accuracy. Average of two coords is fine fo two point fairly close together (<1km), but not for very very large distances.
- We only ever use it for small ranges so changed tests to reflect that

#story[881]
2017-05-11 16:01:44 +12:00
Erika Savell 11f6dee301 Added a number of race tests.
- Still unable to get animation timer tests working. May be necessary to make handle() hold nothing but a method call

#story[881]
2017-05-11 15:43:12 +12:00
Erika Savell 0bb18c7957 Temporarily ignoring animation tests
- The VMs don't have the necessary libraries to run them

#story[881]
2017-05-11 13:34:26 +12:00
Erika Savell 892bfd9676 Began on tests for Race class.
- Made really good progress using Mockito and calling .handle() on animation timers

#story[881]
2017-05-11 01:22:28 +12:00
Erika Savell fd036c1835 Refactored countdown timer in race class
- Also fixed all boats having ame velocity

#story[881]
2017-05-11 00:51:34 +12:00
Erika Savell a35d9cbc5a Re-refactored Event class
#story[881]
2017-05-10 23:54:29 +12:00
Erika Savell e7f84eaf83 Refactored Event Class
#story[881]
2017-05-10 23:43:42 +12:00
Erika Savell 1a780d6955 Fixed spread starting positions being reset at start of race
#story[881]
2017-05-10 23:31:32 +12:00
Erika Savell af3dfbad05 Fixed boats not displayinggit stash
- Was gps coordinates being initialised with X and Y switched around

#story[881]
2017-05-10 22:33:29 +12:00
Erika Savell 081a7d5666 Attempting to solve boats not apearing problem
- Appears to be becaus elat and long are getting switched somewhere

#story[881]
2017-05-10 22:23:49 +12:00
Erika Savell ffa3d530ae Event takes string and sets time of race
- RaceXmlReaders can handle strings now
- Not working with visualiser, gps coords may be worng

#story[881]
2017-05-10 21:46:24 +12:00
Erika Savell 16d3fe2ef2 Added marker boats with correct gps positions into boats xml read by mock
#story[881]
2017-05-10 13:50:28 +12:00
Erika Savell 83d6cdbd59 Edited race xml read by mock
- It now includes source ids
- Legs are in the correct sequence order for the example race

#story[881]
2017-05-10 13:37:32 +12:00
Erika Savell 1b6693a19b Added xml files for mock to read in
- In process of switching to reading official xml format instead of our own

#story[881]
2017-05-10 12:39:58 +12:00
Erika Savell 62db7f333c Frantically cherry-picking commit by commit
#story[778]
2017-05-04 16:33:07 +12:00
Erika Savell 8ed0ca5b4f Quick way of adding extra leg to mock data
- To be redundant when the mock feed pulls from a proper xml instead of having two parsers

#story[778]
2017-05-04 16:31:40 +12:00
Erika Savell 288699b7c7 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-04 13:44:56 +12:00
Erika Savell 2dab427092 Quick way of adding extra leg to mock data
- To be redundant when the mock feed pulls from a proper xml instead of having two parsers

#story[778]
2017-05-04 13:44:44 +12:00
Erika Savell 5ebd4251e2 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-04 12:50:42 +12:00
Erika Savell c3ee3ec9e2 Added new lines to the other two xml creators
#story[778]
2017-05-04 12:50:30 +12:00
Erika Savell 6e10f86a90 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-04 12:39:58 +12:00
Erika Savell 311cd99457 Added newlines to xml created by mock
#story[778]
2017-05-04 12:39:46 +12:00
Erika Savell 98723b88d4 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-04 12:26:04 +12:00
Erika Savell cfa6ba1c3f Fixed speed notbeing displayed from AC35 live data
- Turns out the AC35 stream gives the speed in the SOG (speed over ground) section, not the boat speed section

#story[782]
2017-05-04 12:25:50 +12:00
Erika Savell d38baa9fc4 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-04 11:58:46 +12:00
Erika Savell 23dfc6a6bf Fixed annotation toggles displaying behind course
#story[782]
2017-05-04 10:34:25 +12:00
Erika Savell eb58581e83 Fixed velocity issues with mock data
-Was accidentally sending scaled velocity

#story[778]
2017-05-04 10:16:10 +12:00
Erika Savell b9901a252a Moved speed conversion to BoatMessage class
#story[778]
2017-05-03 21:01:30 +12:00
Erika Savell 7c59632c41 Fixes to get race running
- Had an incorrect if else statement that was preventing race from running

#story[778]
2017-05-03 20:48:37 +12:00
Erika Savell d2e08fa8e1 Added boat velocity to information provided by mock
#story[778]
2017-05-03 20:36:43 +12:00
Erika Savell 08f203a0f8 Added race statuses for before the race has started. 3 min -> 1 min is warning, 1 min -> 0 min is preparatory.
-Boat locations (spread across start line) are also broad casted

#story[778]
2017-05-02 20:13:39 +12:00
Erika Savell 049f0f7331 Changed main loop so boats are looped through with a different starting boat
-This was necessary because one boat (the last one to be processed) would lag and jump, as sometimes there was not enough time for all location messages to be sent before the next lot were added.
- The solution was to add a boatOffset, which means while the boats are still  processed with3 coming after 2 coming after 1 etc, the loop starts with boat 0, then the next run through it wiull start with boat 1 and so on.

-This eliminated the lag (or at least spread it evenly across all the boats)

#story[778]
2017-05-02 19:50:12 +12:00
Erika Savell 42ad1f78fc Added heading to boatlocation messages
#story[778]
2017-05-02 19:21:43 +12:00
Erika Savell f2e0eec212 Fixed date time parsing problem
#story[778]
2017-05-02 16:50:09 +12:00
Erika Savell 7d1f4209e4 Got mock data being used by visualiser.
- Issue with zonedTimeDate not parsing
- Fixed race crashing once one boat finished

#story[778]
2017-05-01 20:56:46 +12:00
Erika Savell d1baf021ac Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 20:25:54 +12:00
Erika Savell 984617ce57 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 20:25:36 +12:00
Erika Savell 63ee51d938 Fixed compoundMarkID typo that was causing a parse int exception
- All that was needed was capitalizing the D in ID in the parser

#story[782]
2017-05-01 20:19:07 +12:00
Erika Savell 4b485fe5ca Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 18:47:48 +12:00
Erika Savell 060db182a8 Minor tweaks to get streaming from mock working
- Key point there being boats, raceand regatta xml files are being read from mock

#story[778]
2017-05-01 18:35:39 +12:00
Erika Savell 0ef96258ad Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 18:21:37 +12:00
Erika Savell 185c65e54d Editing MockOutput to send actual generated boat/race/regatta xmls
- Was previously sending from a static source file

#story[778]
2017-05-01 18:15:36 +12:00
Erika Savell 69fca43534 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 15:49:26 +12:00
Erika Savell 9acd519d7b Removed the rest of the shared model classes needed by mock
#story[778]
2017-05-01 15:49:07 +12:00
Erika Savell d34dfc537e Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 15:17:50 +12:00
Erika Savell e927242707 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-05-01 15:07:41 +12:00
Erika Savell 3f748bfdb6 Removed BoatInRace from shared model, refactored
#story[778]
2017-05-01 15:06:56 +12:00
Erika Savell 7e569b59b7 Commenting out tests just to get CI working, will investigate on different branch
#story[778]
2017-04-30 21:26:57 +12:00
Erika Savell 2320675b7e Fixing build
#story[778]
2017-04-30 21:23:52 +12:00
Erika Savell 0126d29524 Fixing some of the SharedModel/seng302 import conflicts
-Am really not liking the SharedModel structure, think reverting back to original structure is worth discussing

story[778]
2017-04-30 21:21:09 +12:00
Erika Savell c972dd7caf Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-04-30 21:20:04 +12:00
Erika Savell 067beed1e3 Attempted to write test for calls to MockOutput
-Struggling because we use animation timers to run the race, and these don't seem to work from a JUnit context

#story[778]
2017-04-30 20:55:40 +12:00
Erika Savell bbd282bd9b Set race to send out status messages (including boat location details)
- Untested, so not sure of accuracy yet

#story[778]
2017-04-30 20:18:04 +12:00
Erika Savell e2f3abffc6 WIP adding race status messages
#story[778]
2017-04-28 18:11:28 +12:00
Erika Savell 214e26ad90 Switched port back to 4942
#story[778]
2017-04-28 13:30:19 +12:00
Erika Savell 6befa24302 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-04-28 13:27:53 +12:00
Erika Savell ce47818c94 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-04-28 13:27:27 +12:00
Erika Savell 9c24b0840e Changed MockInput to thread
#story[778}
2017-04-28 13:18:07 +12:00
Erika Savell b1bbef814b Switching to use networking modules
#story[778]
2017-04-28 12:43:14 +12:00
Erika Savell 2289936f4f Javadoc fix to get CI running
#story[778]
2017-04-28 11:36:30 +12:00
Erika Savell 1e3b816ff5 Added tests for BoatData and RaceData
#story[778]
2017-04-25 17:59:06 +12:00
Erika Savell 83dfe1a60c Renamed some directories, optimized imports, general code clean up
#story[778]
2017-04-25 17:41:10 +12:00
Erika Savell 073102d1a3 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-25 17:19:28 +12:00
Erika Savell e30aa02aac Commented and javadoc-ed RegattaData and BoatData
#story[9]
2017-04-25 17:19:04 +12:00
Erika Savell 19224ba840 Refactored RegattaData
#story[778]
2017-04-25 16:56:11 +12:00
Erika Savell ba5c965fd6 Refactored BoatData
#story[778]
2017-04-25 16:45:39 +12:00
Erika Savell 302f2c6869 Javadoc and commented RaceData class
#story[778]
2017-04-25 15:34:29 +12:00
Erika Savell 3542827c29 Refactored RaceData class
#story[778]
2017-04-25 15:20:49 +12:00
Erika Savell 03f63b2c61 Added boat data xml tests
#story[778]
2017-04-25 14:42:14 +12:00
Erika Savell d05d7271fc Removed output stream, started refactoring BoatDataClass
#story[778]
2017-04-25 13:28:48 +12:00
Erika Savell 6a35c40f77 Commented out test causing CI issues
#story[778]
2017-04-25 13:04:30 +12:00
Erika Savell a9f98b48b2 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-25 13:00:21 +12:00
Erika Savell 744caf0d29 Merge branch 'isolatingMock' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-25 12:57:09 +12:00
Erika Savell 896589d1a5 Merge branch 'isolatingMock' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-25 12:09:06 +12:00
Erika Savell 0719720585 Moved boat xml creation from Event class to BoatData class
#story[778]
2017-04-25 12:07:58 +12:00
Erika Savell 721fb5f28a Removed regatta xml creation from Event class into RegattaData class
#story[778]
2017-04-25 11:51:31 +12:00
Erika Savell 7f2d8107b8 Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules 2017-04-25 11:39:22 +12:00
Erika Savell 5304f7df7d removed problematic import
#story[778]
2017-04-21 17:11:56 +12:00
Erika Savell 3ff2a07680 Temporarily ignored some tests in mock
#story[778]
2017-04-21 17:08:28 +12:00
Erika Savell a7913a16f9 Merge branch 'isolatingMock' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-21 17:04:12 +12:00
Erika Savell 9764f448eb Added participants field to xml generator
#story[778]
2017-04-21 17:02:06 +12:00
Erika Savell c365d5a344 Merge branch 'isolatingMock' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-21 17:01:23 +12:00
Erika Savell fdba50f9d2 Added course limit, course and marker seq field to xml fiule of race info
#story[778]
2017-04-21 16:52:07 +12:00
Erika Savell 737755def6 Merge branch 'isolatingMock' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-21 15:33:47 +12:00
Erika Savell 94ba18cf0c Began xml creator for race info message
#story[778]
2017-04-21 15:33:37 +12:00
Erika Savell 33e3b3713c Merge branch 'isolatingMock' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into isolatingMock 2017-04-21 13:10:45 +12:00
Erika Savell 97c5c9662b Wrapped race in an event which sends out starting xml files
#story[778]
2017-04-21 13:10:30 +12:00