Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
89:7f9d6e641a01
Parent:
88:b89cace9329b
Child:
92:b2f4ed4cb1e5
diff -r b89cace9329b -r 7f9d6e641a01 source/Movement.cpp
--- a/source/Movement.cpp	Mon May 01 13:38:00 2017 +0000
+++ b/source/Movement.cpp	Mon May 01 15:26:30 2017 +0000
@@ -66,7 +66,7 @@
     } else {
 
         float speed_left = get_speed_left();
-        wanted_dist -= (2*(float)wheel_r*(float)M_PI) * t.read() * fabsf(speed_left);
+        wanted_dist -= (2*(float)wheel_r*(float)M_PI)/(2*M_PI) * t.read() * fabsf(speed_left)*0.1f;
         t.reset();
 
         if(wanted_dist <= 0) { //distance covered, Stop function