Commit Graph
16 Commits
Author SHA1 Message Date
Erika cf5de5962a Loaded the rest of the legs of the bermuda course in as an example race
#story[9] #implement
2017-03-19 21:30:49 +13:00
Erika 192178760e Boat moves between legs and finishes
- Have hard coded in first two legs
-Possibly found problem with lat and longitude coordinate system being switched
#story[9]
2017-03-19 14:14:53 +13:00
Erika 8ae540a6b9 Switched bearing calculation from formula to using the geodectic calcultor -this abstracts a lot of the complexity -more accurate heading, and it is return as an azimuth rather than bearing making lat and long calculations easier #story[9] 2017-03-19 13:09:49 +13:00
Erika Savell 05c7af4abf Implemented redrawing boat with each loop
- Not complete. New gps coordinate needs work around bearing -> azimuth conversion

#implement #story[9]
2017-03-17 18:13:48 +13:00
Erika Savell e6e59e2df9 Changed POM file to recognise project as team-7
-We had two project names, 'app' and 'team-7', which was causing problems with maven

#fix #story9
2017-03-17 15:54:01 +13:00
Erika Savell 1284cac68e Importing geotools library to calculate next coordinate for boat
-Currently getting ClassDefNotFound error
- I think one of th elibraries dependencies is visible and compile time not runtime

#story[9] #implement
2017-03-17 13:03:27 +13:00
Erika Savell 2811a09784 Merge branch 'story9' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story9 2017-03-17 11:13:27 +13:00
Erika Savell b82ded6014 Merge branch 'story9' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story9 2017-03-16 16:40:53 +13:00
Erika Savell 8090108b12 Began implementing function to calculate boat's new coordinates
-Using haversine function
-current values being produced are too small

#implement #story[9]
2017-03-16 16:40:34 +13:00
Erika Savell 2551dd7362 Added single test to debug race process 2017-03-15 22:02:13 +13:00
Erika Savell dbbfece149 Fixed resources issue 2017-03-15 17:14:30 +13:00
Erika Savell 6f509e25ea Implementing the boats movement throught a race
-Not complete! Still need to create function to calculate new coordinates
-Doesn't run because of problems with resource folder

#refactor
2017-03-15 16:59:55 +13:00
Erika Savell b73fee2cb5 Rewriting code to work with the transplanted loop
- Event has been replaced by leg, which holds the start and end coordinates, and total distance needed to pass it.
- The boats coordinates will be recalculated at each run through of the loop
- Not worrying about randomised race for now.

#refactor
2017-03-15 15:04:30 +13:00
Erika Savell 54d4ea2d03 Merge remote-tracking branch 'origin/story9' into mergePacedLoop
# Conflicts:
#	.idea/compiler.xml
#	.idea/misc.xml
2017-03-15 13:50:52 +13:00
Erika Savell 0dc5efd830 Just trying to fix my ide 2017-03-15 13:49:39 +13:00
Erika Savell 41cdf09dc2 Started merging team 8 paced loop into team 7 codebase.
-No running! Syntax errors and not done merging

-Just pushing so David can pull changes

#pair[zwu18, esa46]
2017-03-15 11:03:50 +13:00