Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
71:ddf4eb5c3081
Parent:
69:1fdcef6a7577
Child:
80:92b9d083322d
diff -r 922cbbfebf02 -r ddf4eb5c3081 source/StartUp.cpp
--- a/source/StartUp.cpp	Thu Apr 20 07:36:50 2017 +0000
+++ b/source/StartUp.cpp	Thu Apr 20 11:37:24 2017 +0000
@@ -4,7 +4,7 @@
 bool stb2 = false;
 bool stb3 = false;
 
-int idel()
+int idle()
 {
 
     if(get_user() == false && stb) {
@@ -15,11 +15,11 @@
     }
 }
 
-int idel2()
+int idle2()
 {
 
     if(get_user() == false && stb2) {
-        return 52; // button pressed, 52 for grab test loop
+        return 25; 
     } else {
         stb2 = true;
         wait_ms(100);
@@ -35,11 +35,11 @@
 }
 
 
-int inital_positioning()
-{
-    printf("positioning...\r\n");
+int inital_arm_positioning(){
+    open_grabber();
+    arm_position_release();
     return 11;
-}
+    }
 
 
 int initial_turn()
@@ -56,5 +56,5 @@
             return 35;
         }
     }
-    return 27;
+    return 28;
 }