Fixed velocity issues with mock data
-Was accidentally sending scaled velocity #story[778]
This commit is contained in:
@@ -65,7 +65,6 @@ public class RaceClock {
|
||||
}
|
||||
|
||||
public String getTimeZone() {
|
||||
System.out.println(zoneId.toString());
|
||||
return zoneId.toString();
|
||||
}
|
||||
|
||||
|
||||
@@ -84,9 +84,7 @@ public class ResizableRaceCanvas extends Canvas {
|
||||
}
|
||||
|
||||
public void displayBoat(Boat boat, double angle, Color colour) {
|
||||
GraphCoordinate pos = this.map.convertGPS(boat.getCurrentPosition());/*
|
||||
System.out.println(String.format("x%s y%s", pos.getX(), pos.getY()));
|
||||
System.exit(0);*/
|
||||
GraphCoordinate pos = this.map.convertGPS(boat.getCurrentPosition());
|
||||
Paint paint = colour;
|
||||
|
||||
double[] x = {pos.getX() - 6, pos.getX(), pos.getX() + 6};
|
||||
|
||||
Reference in New Issue
Block a user