294 Commits (31bb2897237f1250985bd49aad88308fb07d7cfc)

Author SHA1 Message Date
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]
8 years ago
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]
8 years ago
David Wu 8b5a5506e7 Boat collisions now play a sound when user collides and a quieter sound when others collide. #story[1195]
8 years ago
Fan-Wu Yang 7aaa880f40 VMG now works with some edge cases issues #story[1182]
8 years ago
Joseph f4cb1a3ac4 Made ObserverCommands and made racestate an observable. ObserverCommands observes the race passes in the params. #story[1196]
8 years ago
Fan-Wu Yang 71dcc8ee6c Added POlar Linear Interpolation #story[1186]
8 years ago
David Wu 8c1eded926 Boat collision packets are now sent. Command class created for boat collision. Currently prints out message depending on if user crashed or someone else crashed. #story[1195]
8 years ago
fjc40 16bf57e333 javadoc fixes.
8 years ago
fjc40 8c76d6c26e Added boats.xml schema.
8 years ago
fjc40 298fcd03dc Added regatta schema.
8 years ago
fjc40 ec58f0c847 Participants can now join during the warning period as well.
8 years ago
Fan-Wu Yang 34cfe48df0 Got VMG quad detection working, however, the speeds are completley wrong. #story[1186]
8 years ago
hba56 ec5bc9c6aa Wind now will occasionally back and veer (in some games, takes ~20min for full 180 degree rotation)
8 years ago
David Wu ea029baf22 Tutorial option in title screen will now created a game with tutorial xmls. Host game will now created a game with the race xml instead of tutorial xml as well. Made changes to tutorial label in title. #story[1189]
8 years ago
fjc40 9156bde8af Moved XML message creation to RaceServer instead of ConnectionAcceptor.
8 years ago
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.
8 years ago
fjc40 3176e76c8c MockRace:
8 years ago
zwu18 c7af4f2eb7 Made changes to tutorial xmls. Linked button in title menu to start up a race on mouse click. Will need to make it so it starts the tutorial on click. #story[1189]
8 years ago
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]
8 years ago
hba56 9161f69547 updating match table to store ip and port of clients and hosts
8 years ago
Joseph 0de7780020 Changed wind speed to be non-linear. #story[1187]
8 years ago
hba56 83f756d7d8 packets can now be sent from client to match server
8 years ago
David Wu 86f1a608e4 Created xml for tutorial that contains start and finish line. TODO: Add gate/mark. #story[1189]
8 years ago
Joseph Gardner b0f7c5e734 Wind speed changes depending on where the wind direction is. #story[1187]
8 years ago
Joseph Gardner d0ba7b93e0 Wind oscillates, replaces random wind with shifting wind. #story[1187]
8 years ago
Joseph Gardner 0be5b731c3 Merge branch 'master' into wind_(story53)
8 years ago
Joseph Gardner 12e2ae9c01 Started implementing wind oscillation. #story[1187]
8 years ago
Joseph Gardner 64e96a1b8b Class for shifting wind. #story[1187]
8 years ago
fjc40 a9fde95b39 Updated maven version to 2.0.
8 years ago
fjc40 666c7b029f Disabled map rotation - temp fix for the demo.
8 years ago
David Wu 5234cdea66 Merge branch 'master' into new_issue#19
8 years ago
Joseph Gardner 5ba6f52669 fixed autovmg.
8 years ago
David Wu f1ef75fb81 Merge branch 'master' into new_issue#19
8 years ago
Joseph Gardner dcd1df2999 Merged master.
8 years ago
Joseph Gardner 014b78f166 Merge branch 'master' into story_64_sails
8 years ago
Fan-Wu Yang 83b0c0a6b4 Fixed issue using File from java.io.File which did not like maven
8 years ago
Joseph Gardner d41e52766b Merge branch 'master' into story_64_sails
8 years ago
David Wu 09eaf6d968 Merged master.
8 years ago
Joseph Gardner 37fe7389ff Rounding marks works.
8 years ago
David Wu 5a188f0582 Merge branch 'master' into new_issue#19
8 years ago
David Wu c08bafa566 Fixed most of issue #19 with new master?
8 years ago
Fan-Wu Yang 2e9c6fe593 Merged most recent master in, #story[1092]
8 years ago
Fan-Wu Yang 7546c65893 Merge branch 'master' into MapWindRotation
8 years ago
Joseph Gardner 20c9870fea Merge branch 'master' into story_64_sails
8 years ago
David Wu 6bc81f566e Issue 19 changes.
8 years ago
Joseph Gardner a3fe57ed5a Removed print statement. #story[1092]
8 years ago
Joseph Gardner 4cf8846cda Map wind rotation works with multiplayer xml. #story[1092]
8 years ago
hwball 86d94ef27e javadoc fix
8 years ago
Connor Taylor-Brown 4b3cc8e126 Created ack number generator for use by multiple services
8 years ago
Joseph Gardner 1e7ba8cd51 Merge branch 'master' into MapWindRotation
8 years ago
Joseph 47fc55245c Merged master.
8 years ago
Joseph f60809bdd4 Merge branch 'master' into story_64_sails
8 years ago
cbt24 eaa0d2e82b Boats bounce away from marks.
8 years ago
cbt24 8113867576 Bubbles collision events to RaceLogic
8 years ago
cbt24 79f3c41d45 Moved generic ray casting to Collider abstract class
8 years ago
cbt24 8498701091 Removed commented-out file from master
8 years ago
cbt24 f44929f376 Spun off Locatable interface to make collision code more reusable
8 years ago
cbt24 ce14e93404 Removed CI-breaking docstring
8 years ago
cbt24 f0d750cae1 Merge remote-tracking branch 'remotes/origin/master' into story66-collision
8 years ago
cbt24 d63641c1e2 Cherry-picked multiple changes from master
8 years ago
Fan-Wu Yang 9f7c5d8c0c Fixed other javadocs that were causing the build to fail #story[1092]
8 years ago
Fan-Wu Yang 8d87da6206 fixed java doc issues on my side #story[1092]
8 years ago
fjc40 bcb6b79f8d Fixed player boat not being highlighted.
8 years ago
fjc40 9ab12a9c58 MockBoat: Removed redundant isAutoVMG() function.
8 years ago
fjc40 5ae8393126 Fixed null pointer exception when a boat finishes the race.
8 years ago
fjc40 3a0bd10a57 Merge remote-tracking branch 'origin/master' into story_61
8 years ago
fjc40 c9875f3987 RaceLogic no longer uses AnimationTimer for its main loop (since that ran in javafx thread).
8 years ago
cbt24 9ca50aa66c Ray casting now only supports distance specification.
8 years ago
cbt24 7d64a43350 Allow collision checking to provide collision parameters to ray casting method
8 years ago
cbt24 2fbb96afd7 Created ray casting methods for MockBoat and CompoundMark
8 years ago
cbt24 da52082d70 Deleted duplicate method (again -.-)
8 years ago
Connor Taylor-Brown 847cd1251e Merge remote-tracking branch 'remotes/origin/master' into CommandFactory
8 years ago
Connor Taylor-Brown b97bfe62a6 Fixed documentation bugs not relevant to story.
8 years ago
Joseph Gardner 7d4f1cd925 Fixed first key press not working. #story[1098]
8 years ago
Fan-Wu Yang ac42c07c69 Merge branch 'master' into MapWindRotation
8 years ago
Fan-Wu Yang b5e414f97a Made all the model classes extend off the schema xml classes for race, and made xml builder, validator and reader utility class.
8 years ago
fjc40 7366aba5ec Added empty data sources, to be used by VisualiserRace.
8 years ago
Fan-Wu Yang 70d5447e88 Moving stuff from school pc to home
8 years ago
hba56 dc9317fe2e remove system.out statments
8 years ago
hba56 67bb7b81dc Merge remote-tracking branch 'origin/story68' into story68
8 years ago
hba56 0d786f381b fix for boats finishing the race
8 years ago
hba56 2acc36225e Fix for placement of invis gates and checks that boats pass through these gates
8 years ago
Jessica Syder 8b1561cdc7 Fixed nullpointer when boat passes finish line.
8 years ago
hba56 f90648e4ce Fixing a silly mistake where starboard side rounding checks for a port side rounding (Thank goodness for documenting manual tests)
8 years ago
Fan-Wu Yang 7c6f0931ba Transferring files from my laptop to desktop to work on, may be broken.
8 years ago
hba56 a05ffd023d Fixing a silly mistake where starboard side rounding checks for a port side rounding (Thank goodness for documenting manual tests)
8 years ago
hba56 f386a4b989 added checks for gates and moved second rounding check to be in line with the next mark to move towards
8 years ago
fjc40 89b0aa8b77 Implemented MessageRouter.
8 years ago
hba56 62e37489ee starboard rounding update
8 years ago
hba56 d70a711a3d Merge branch 'master' into story68
8 years ago
hba56 499a409d4f Merge branch 'master' into story68
8 years ago
zwu18 848edfc6a4 Removed commented out code. Merged master in.
8 years ago
zwu18 c3ea62dfee Merge branch 'master' into CommandFactory
8 years ago
zwu18 9c902dab46 Added javadoc to classes.
8 years ago
fjc40 6e5fb62880 Added REQUEST_RECEIVED and DECLINED to ConnnectionStateEnum.
8 years ago
fjc40 b625b6ab05 XMLReader.readXMLFileToString no longer throws a Transformer exception.
8 years ago
Connor Taylor-Brown 7474de9816 Created foundation classes and interfaces for collision architecture.
8 years ago
fjc40 61d18f85c5 javadoc fixes.
8 years ago
fjc40 19984772c0 Merge branch 'master' into story_61
8 years ago
Joseph Gardner d8628b4289 Boats now start the race with sails out. #story[1098]
8 years ago
fjc40 130ffcbf07 Fixed some merge issues.
8 years ago
Joseph Gardner 20302496f0 Made SailsInCommand and SailsOutCommand one class. #story[1098]
8 years ago
fjc40 805c12bf41 Merge remote-tracking branch 'origin/master' into issue_28_36_decoders
8 years ago
fjc40 39b5cc2edc MockBoat has autoVMG disabled by default.
8 years ago
Joseph Gardner 1a7152f54e Boats stop when the sails are out. Merged dev. #story[1098]
8 years ago
fjc40 7cc39abe57 WIP. Probably need to cherry pick stuff out of here.
8 years ago
Joseph Gardner 1302769a50 Merge branch 'Development' into story_64_sails
8 years ago
Joseph e23f20753d Merged master. Added commands for sails in and out. Added logic to stop boat from moving when sails are out. Testing if the boat stops with sails out is blocked until command factory is merged. #story[1098]
8 years ago
Joseph 41d09f587e Merge branch 'master' into story_64_sails
8 years ago
Connor Taylor-Brown 638413da1a Merge remote-tracking branch 'remotes/origin/story63' into Development
8 years ago
zwu18 03713d3699 Added checkPosition into MockRace which was removed. Boat now updates legs again.
8 years ago
Connor Taylor-Brown e021dd328d Changed CompositeCommand stack to queue
8 years ago
zwu18 53c9192130 Merge branch 'CommandFactory' into Development
8 years ago
cbt24 2920b6cf23 Removed build-breaking code from MockRace
8 years ago
Fan-Wu Yang a460df3e4d Fixed Javadocs that were causing the build to fail. #story[1096]
8 years ago
Fan-Wu Yang 0f9b191ccb Added doc strings to RaceXML Creator #story[1096]
8 years ago
Connor Taylor-Brown 8ee4e84236 Merge remote-tracking branch 'remotes/origin/story63' into Development
8 years ago
Connor Taylor-Brown dad4fa57c6 Fixed WindCommand not updating downwind command when moving upwind.
8 years ago
Connor Taylor-Brown 55798447ab Cherry-picked CommandFactory connection between ControllerServer and RaceLogic.
8 years ago
Connor Taylor-Brown e76de1cbf9 Added test for WindCommand
8 years ago
fjc40 634d78ab70 Added names to threads created.
8 years ago
hba56 747c31b948 Merge remote-tracking branch 'remotes/origin/story68' into Development
8 years ago
hba56 4195d41814 removed outdated comments
8 years ago
Jessica Syder 7c5670f8c2 Sails are displayed on first boat in a race. Optimised imports.
8 years ago
hba56 950a801d16 rounding fix for the xml
8 years ago
Joseph Gardner 0bf2c6106b Boat updating speed after key press has been fixed. #fix #story[1094]
8 years ago
zwu18 ddaa2623ca Added tests for TackGybeCommand class.
8 years ago
Fan-Wu Yang fef35d0b00 The race is rotated with it's initial rotation in mind
8 years ago
Fan-Wu Yang 2ce1c0786e The course points can now be rotated,
8 years ago
zwu18 a388989827 Reworked TackGybeCommand. Current boat in race will now tack and gybe when control is pressed.
8 years ago
fjc40 1fbdd09d70 Refactored BoatLocation message, encoders, decoders. It now exposes datatypes that we actually use in the program (double knots, bearings, etc..), instead of the bits-on-the-wire packed units (like int mmPerSec). Also documented it, and updated test.
8 years ago
zwu18 18f14c7542 VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled. Fixed autoVMG not working.
8 years ago
fjc40 ff262a6227 Added Knots <-> MMperSec conversions to AC35UnitConverter.
8 years ago
zwu18 dab0f2b402 Merge branch 'story63' into CommandFactory
8 years ago
zwu18 074e2e590b VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled.
8 years ago
zwu18 3d417c3a40 Merge branch 'story63' into CommandFactory
8 years ago
fjc40 b1922fc3fc Added RaceStatusEncoder.
8 years ago
fjc40 b486f99dbe Added XMLMessageEncoder.
8 years ago
fjc40 8ef906472b Renamed Heartbeat to HeartBeat.
8 years ago
fjc40 c3ed30019c Added BoatLocationEncoder.
8 years ago
Connor Taylor-Brown 554f8a2a0f Added WindCommand and multiple command execution to RaceLogic
8 years ago
hba56 0b74acadff rounding checks are now done by port or starboard side depending on what the compound marks type is
8 years ago
hba56 db1efab225 rounding checks are now done by port or starboard side depending on what the compound marks type is
8 years ago
zwu18 14ce5fcaff Made changes to TackGybeCommand and VMGCommand classes to fit pattern layout.
9 years ago
zwu18 6e699f7037 Merge branch 'RaceFactory' into CommandFactory
9 years ago
Fan-Wu Yang f23c3f854d Seperated race xml creation into a class of its own
9 years ago
Connor Taylor-Brown 851bbb4fde Merged branch "RaceFactory" with master
9 years ago
fjc40 148108a658 CommandFactory uses BoatActionEnum instead of raw ints.
9 years ago
Connor Taylor-Brown c83442761c Implemented Factory for Command objects and fixed Command Pattern implementation.
9 years ago
Joseph Gardner 40a3ed1bb0 Boats now store whether autoVMG is on or off, boat speed scales off their bearing relative to the TWA. #story[1094]
9 years ago