PES 2 - Gruppe 1 / Mbed 2 deprecated Robocode_Random

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
136:b35f2d9b7402
Parent:
135:644346924339
diff -r 644346924339 -r b35f2d9b7402 source/Main.cpp
--- a/source/Main.cpp	Tue May 16 15:24:23 2017 +0000
+++ b/source/Main.cpp	Tue May 16 16:18:29 2017 +0000
@@ -23,7 +23,11 @@
         //This functions will be called every cycle, use for safety and sensor functipons
         //*******************************************************************************
 
-        //state = safety(state);
+        if (safety() && state != 50) { //arm down
+            //irgendwie rückwärts fahren
+            //state = 47
+            state = 61;
+        }