Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Revision:
19:06610e1c0895
Parent:
17:bafcef1c3579
Child:
21:15da49f18c63
--- a/main.cpp	Sun Apr 29 00:43:46 2012 +0000
+++ b/main.cpp	Mon Apr 30 20:15:43 2012 +0000
@@ -90,6 +90,38 @@
     flag_terminate = true;
     */
     
+    // strat 1 ==================================
+    // goto middle x
+    settarget(1500, 250, PI/2, true);
+    Thread::signal_wait(0x01);
+    Thread::wait(2000);
+    
+    // to palm tree
+    settarget(1500, 1000, PI, true);
+    Thread::signal_wait(0x01);
+    Thread::wait(2000);
+    
+    // run over totem
+    settarget(640,1000,PI, true);
+    Thread::signal_wait(0x01);
+    Thread::wait(2000);
+    
+    // back to ship
+    settarget(220,780,PI,true);
+    Thread::signal_wait(0x01);
+    Thread::wait(2000);
+    
+    flag_terminate = true;
+    while(true){
+        Thread::wait(osWaitForever);
+    }
+    
+    
+    // end of strat 1 ===========================
+    
+    
+   
+    
     while (1) {