Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
129:0f60bf9640bb
Parent:
125:573a18c2155f
Child:
134:5c29654ce301
--- a/source/Positioning.cpp	Sun May 14 14:40:12 2017 +0000
+++ b/source/Positioning.cpp	Mon May 15 11:48:05 2017 +0000
@@ -37,8 +37,8 @@
 position coord_to_pos(coordinates coord)
 {
     position pos = {0};
-    pos.x = rint(coord.x -0.5f);    //round values
-    pos.y = rint(coord.y -0.5f);
+    pos.x = rint(coord.x/4.0f - 0.5f);    //round values
+    pos.y = rint(coord.y/4.0f - 0.5f);
     return pos;
 }