PES 2 - Gruppe 1 / Mbed 2 deprecated Robocode_Random

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
33:8a98f8b9d859
Parent:
32:777976c4d733
diff -r 777976c4d733 -r 8a98f8b9d859 source/main.cpp
--- a/source/main.cpp	Thu Mar 16 12:52:41 2017 +0000
+++ b/source/main.cpp	Mon Mar 20 14:11:46 2017 +0000
@@ -11,11 +11,12 @@
 {
 
 
-    while (timer() < 300) { // 5min
-        /*********************************************************************************
-        Non_state machine driven function
-        This functions will be called every cycle, use for safety and sensor functipons
-        **********************************************************************************/
+    while (timer() < 300) {
+        */// 5min
+        //*******************************************************************************
+        //Non_state machine driven function
+        //This functions will be called every cycle, use for safety and sensor functipons
+        //*******************************************************************************
 
         safty() {
 
@@ -32,14 +33,14 @@
             mapping();
         }
 
-        /*********************************************************************************
-        state machine driven function
-        This functions will only be called when their state is active.
-        The state machine will be in the same state until this action is completed or
-        a safty function kicks in and stops the current function.
-        Every function will return the next active state upon its transition table.
-        State and Transition Table can be found in the State_Machine.xlsx
-        **********************************************************************************/
+        //*******************************************************************************
+        //state machine driven function
+        //This functions will only be called when their state is active.
+        //The state machine will be in the same state until this action is completed or
+        //a safty function kicks in and stops the current function.
+        //Every function will return the next active state upon its transition table.
+        //State and Transition Table can be found in the State_Machine.xlsx
+        //*******************************************************************************
         switch (state) {
             case 0:
                 state = emergency_shutdown();