fjc40
091ee4735b
Race.simulateRace() function now generates a BoatLocationMessage after updating the position of each boat. Currently we just print the message to stdout.
...
Added functions to convert knots (as a double) to mm/sec (as an int) to BoatLocationMessage class.
Added toString function to BoatLocationMessage class.
Added a sequence number member to the BoatInRace class.
Added Knots to meters per second conversion factor to Contants class.
#story[788]
2017-04-24 20:19:39 +12:00
fjc40
149c312080
Merge branch 'isolatingMock' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into isolatingMock
2017-04-21 13:38:01 +12:00
fjc40
9e1b3365bf
Added helper functions to BoatLocationMessage which convert between the datatypes used by the message and datatypes used by our model. (Converts boat heading, wind angle, gps coordinate).
...
#story[778]
2017-04-21 13:19:49 +12:00
fjc40
ef53dee7fe
Changed device type constants to bytes.
...
#fix #story[778]
2017-04-21 12:56:00 +12:00
fjc40
421663c145
Added device type enumerations as static ints for BoatLocationMessage.
...
#story[778]
2017-04-21 12:54:48 +12:00
fjc40
1a085e881d
Merge branch 'isolatingMock' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into isolatingMock
2017-04-21 12:26:34 +12:00
fjc40
8da67d1dbc
Added class to encapsulate a BoatLocationMessage.
...
#story[778]
2017-04-21 12:25:57 +12:00