Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
88:b89cace9329b
Parent:
86:df8c869a5a52
Child:
89:7f9d6e641a01
--- a/source/Movement.cpp	Mon May 01 12:55:11 2017 +0000
+++ b/source/Movement.cpp	Mon May 01 13:38:00 2017 +0000
@@ -40,6 +40,7 @@
 
 float move_for_distance(float distance)
 {
+    printf("move for distance\r\n");
     if(distance != 0) {
 
         is_moving = true;
@@ -57,6 +58,7 @@
             left = -50.0f;
             right = -50.0f;
         }
+        printf("set speed %f\r\n", left);
         set_speed(left, right);
         t.reset();
         t.start();
@@ -73,6 +75,7 @@
             t.stop();
         }
     }
+    printf("remaining distance to cover: %f\r\n", wanted_dist);
     return wanted_dist;
 }