PES 2 - Gruppe 1 / Mbed 2 deprecated Robocode_Random

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
117:66d64dbd1b36
Parent:
116:e03a3692cdf0
Child:
120:cdf7a6751f9e
--- a/source/Movement.cpp	Wed May 10 08:52:04 2017 +0000
+++ b/source/Movement.cpp	Wed May 10 10:02:53 2017 +0000
@@ -307,7 +307,7 @@
     //printf("Current Search State: >%d<\r\n",search_state);
     switch (search_state) {
         case 0: //first cycle right
-            turn_for_deg(60.0f,0.6f);                                           // call function and start turning
+            turn_for_deg(60.0f,0.8f);                                           // call function and start turning
             search_state = 1;
             break;
 
@@ -346,12 +346,12 @@
 
 
         case 3: // init continue turning for restdeg
-            turn_for_deg(restdegAfterstop,0.6f);                                // call function and start turning for restdegrees after stop
+            turn_for_deg(restdegAfterstop,0.8f);                                // call function and start turning for restdegrees after stop
             search_state = 1;                                                   // go back to turn and search
             break;
 
         case 4: // init turn left 120 deg
-            turn_for_deg(-120.0f,0.6);
+            turn_for_deg(-120.0f,0.8f);
             search_state = 5;
             break;
 
@@ -387,7 +387,7 @@
             break;
 
         case 7:// init continue turning for restdeg
-            turn_for_deg(restdegAfterstop,0.2f);                                // call function and start turning for restdegrees after stop
+            turn_for_deg(restdegAfterstop,0.8f);                                // call function and start turning for restdegrees after stop
             search_state = 5;                                                   // go back to turn and search
             break;