Jessica Syder
669a303e9b
Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into controllerSplit
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/HostGameController.java
# racevisionGame/src/main/java/visualiser/Controllers/RaceViewController.java
# racevisionGame/src/main/java/visualiser/Controllers/StartController.java
# racevisionGame/src/main/java/visualiser/Controllers/hostgame.fxml
# racevisionGame/src/main/java/visualiser/Controllers/lobbyHosting.fxml
# racevisionGame/src/main/java/visualiser/Controllers/main.fxml
# racevisionGame/src/main/java/visualiser/Controllers/raceView.fxml
2017-09-11 20:19:10 +12:00
Jessica Syder
108643b59d
Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into controllerSplit
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/HostGameController.java
# racevisionGame/src/main/java/visualiser/Controllers/RaceViewController.java
# racevisionGame/src/main/java/visualiser/Controllers/StartController.java
# racevisionGame/src/main/java/visualiser/Controllers/hostgame.fxml
# racevisionGame/src/main/java/visualiser/Controllers/lobbyHosting.fxml
# racevisionGame/src/main/java/visualiser/Controllers/main.fxml
# racevisionGame/src/main/java/visualiser/Controllers/raceView.fxml
2017-09-11 20:05:24 +12:00
hba56
ae8fa312a3
removed sout and added a longer startup time. Also fixed race xmls to remove set boats
2017-09-09 15:37:35 +12:00
hba56
ea1594a839
Merge remote-tracking branch 'remotes/origin/master' into Story_76
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/HostController.java
# racevisionGame/src/main/resources/visualiser/scenes/hostgame.fxml
2017-09-09 15:35:02 +12:00
hba56
5e516b0508
re added the standard race
...
#story[1193]
2017-09-08 18:12:51 +12:00
Jessica Syder
a5050b8ea8
Adding back lost changes and finishing splitting last controllers.
...
- renamed fxml and their controllers to match
- removed old controllers
- finished lobby and lobbyhost controllers
#story[1261]
2017-09-08 18:08:58 +12:00
Joseph Gardner
3157ac88b5
Course layout for a type M2 course has been made. #story[1193]
2017-09-08 13:27:30 +12:00
Fan-Wu Yang
18a689b110
Changed a constant to be using the one in the constants file (prepartory start time) and temporarily made it so that the race can start in 3 seconds. #story[1261]
2017-09-07 19:30:51 +12:00
hba56
dfd3cb96f3
removed System.out.println
2017-09-06 20:05:54 +12:00
Fan-Wu Yang
ae1526c457
Merge branch 'master' into vmg_fix
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/MainController.java
2017-09-06 17:48:11 +12:00
hba56
86f495a551
javaDoc
2017-09-06 17:04:15 +12:00
hba56
4eac3ea8b5
Updated the HostGame now has images for the maps and the map can be picked
...
#story[1193]
2017-09-06 13:49:18 +12:00
hba56
6b9c041c6b
Merge remote-tracking branch 'remotes/origin/master' into wind_(story53)
...
# Conflicts:
# racevisionGame/src/main/java/mock/app/Event.java
# racevisionGame/src/main/java/mock/model/MockRace.java
2017-09-05 23:37:17 +12:00
Fan-Wu Yang
06517b7b47
Tidied up code
...
- Removed prints from tests
- Added Javadocs in necessary places
- Reenabled boat status message to send
- Added boat average angle
- pulled out modulateAngle function
- Commented harder to read loops
- Disabled toggled VMG
#story[1182]
2017-09-05 21:37:33 +12:00
Fan-Wu Yang
d602c1ec6f
VMG is now working and fixed, however, it feels a bit odd #story[1182]
2017-09-05 21:03:19 +12:00
David Wu
b22c5c5cd6
Created xml for new course layout. Marks and such are all added. Need to set up boundary when I have time. #story[1193]
2017-09-05 20:09:56 +12:00
Fan-Wu Yang
7331ad1a20
VMG now works however some little bug in the interpolation in some quadrant that is making the speed all the same in the quadrant #story[1182]
2017-09-05 19:26:06 +12:00
Fan-Wu Yang
7aaa880f40
VMG now works with some edge cases issues #story[1182]
2017-09-05 13:05:37 +12:00
Fan-Wu Yang
71dcc8ee6c
Added POlar Linear Interpolation #story[1186]
2017-09-04 14:17:13 +12:00
fjc40
16bf57e333
javadoc fixes.
2017-09-02 00:45:08 +12:00
fjc40
8c76d6c26e
Added boats.xml schema.
...
RaceServer now creates an XMLMessage when the race's BoatDataSource changes.
#story[1188]
2017-09-02 00:34:41 +12:00
fjc40
298fcd03dc
Added regatta schema.
...
RaceServer now creates an XMLMessage when the race's RegattaDataSource changes.
#story[1188]
2017-09-02 00:33:09 +12:00
fjc40
ec58f0c847
Participants can now join during the warning period as well.
...
Added RaceDataSourceToXML.
RaceServer now create an XMLMessage when the race's RaceDataSource changes.
#story[1188]
2017-09-02 00:27:44 +12:00
Fan-Wu Yang
34cfe48df0
Got VMG quad detection working, however, the speeds are completley wrong. #story[1186]
2017-09-01 20:30:28 +12:00
hba56
ec5bc9c6aa
Wind now will occasionally back and veer (in some games, takes ~20min for full 180 degree rotation)
...
#story[1188]
2017-09-01 13:19:59 +12:00
fjc40
9156bde8af
Moved XML message creation to RaceServer instead of ConnectionAcceptor.
...
RaceServer does not currently generate new XMLMessages - NYI.
Added a sequence number to RaceDataSource - this is used to indicate that the data source has been modified.
#story[1188]
2017-09-01 01:19:17 +12:00
fjc40
d0eebcdb2f
SourceIdAllocator now allocates from the BoatDataSource and RaceDataSource exposed by MockRace, instead of having its own source IDs. Can only allocate ids during PRESTART period.
...
RaceLogic now calls MockRace.initialiseBoats() after the prestart period has finished.
MockRace create a VisualiserBoat when a source ID is allocated.
MockOutput now sends updated XML messages during the race, instead of only at the start.
#story[1188]
2017-09-01 01:14:43 +12:00
fjc40
3176e76c8c
MockRace:
...
Now uses RaceState as its base class, rather than Race. This aligns it with VisualiserRace. RaceState contains the shared race state between the client and server, and stores most of its data in RaceDataSource etc..., instead of maintaining its own copy.
Moved collider registry member to MockRace.
XMLUtilities:
Added documentation to two important functions, and updated them to use generics instead of Objects.
#story[1188]
2017-08-31 21:06:13 +12:00
Fan-Wu Yang
9a5d20bdf2
Added new polar function, currently it does not distinguish between up wind and downwind and doesn't find it in the correct quadrant #story[1186]
2017-08-31 17:39:17 +12:00
Joseph
0de7780020
Changed wind speed to be non-linear. #story[1187]
2017-08-31 12:26:30 +12:00
Joseph Gardner
b0f7c5e734
Wind speed changes depending on where the wind direction is. #story[1187]
2017-08-29 15:53:41 +12:00
Joseph Gardner
d0ba7b93e0
Wind oscillates, replaces random wind with shifting wind. #story[1187]
2017-08-29 14:40:52 +12:00
Joseph Gardner
0be5b731c3
Merge branch 'master' into wind_(story53)
2017-08-29 13:22:15 +12:00
Joseph Gardner
12e2ae9c01
Started implementing wind oscillation. #story[1187]
2017-08-29 13:21:34 +12:00
Joseph Gardner
64e96a1b8b
Class for shifting wind. #story[1187]
2017-08-29 12:14:28 +12:00
fjc40
a9fde95b39
Updated maven version to 2.0.
...
Added a dedicatedServer module.
Removed Visualiser module.
Removed mock module.
Removed network module.
Fixed weird exception non-handling that appeared for some reason.
2017-08-18 22:55:50 +12:00
fjc40
666c7b029f
Disabled map rotation - temp fix for the demo.
...
Set race to use 3 boat race.xml file.
2017-08-17 22:26:56 +12:00
David Wu
5234cdea66
Merge branch 'master' into new_issue#19
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/TitleController.java
2017-08-17 17:00:39 +12:00
Joseph Gardner
5ba6f52669
fixed autovmg.
2017-08-17 16:50:13 +12:00
David Wu
f1ef75fb81
Merge branch 'master' into new_issue#19
2017-08-17 16:34:19 +12:00
Joseph Gardner
dcd1df2999
Merged master.
2017-08-17 16:26:00 +12:00
Joseph Gardner
014b78f166
Merge branch 'master' into story_64_sails
2017-08-17 16:25:40 +12:00
Fan-Wu Yang
83b0c0a6b4
Fixed issue using File from java.io.File which did not like maven
2017-08-17 16:24:54 +12:00
Joseph Gardner
d41e52766b
Merge branch 'master' into story_64_sails
...
# Conflicts:
# racevisionGame/src/main/java/mock/model/MockRace.java
# racevisionGame/src/main/java/visualiser/Controllers/ConnectionController.java
# racevisionGame/src/main/java/visualiser/model/VisualiserBoat.java
2017-08-17 16:04:53 +12:00
David Wu
09eaf6d968
Merged master.
2017-08-17 13:55:49 +12:00
Joseph Gardner
37fe7389ff
Rounding marks works.
2017-08-17 13:55:33 +12:00
David Wu
5a188f0582
Merge branch 'master' into new_issue#19
2017-08-17 13:52:04 +12:00
David Wu
c08bafa566
Fixed most of issue #19 with new master?
2017-08-17 13:49:43 +12:00
Fan-Wu Yang
2e9c6fe593
Merged most recent master in, #story[1092]
2017-08-17 13:23:55 +12:00
Fan-Wu Yang
7546c65893
Merge branch 'master' into MapWindRotation
...
# Conflicts:
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Mark.java
2017-08-17 12:59:54 +12:00