Robotics Term Project / Mbed 2 deprecated Robottics_Motion

Dependencies:   mbed

Revision:
7:1232c7939984
Parent:
6:f4250d71f974
Child:
8:079c3326816e
--- a/ai.cpp	Tue May 24 08:10:47 2016 +0000
+++ b/ai.cpp	Tue May 24 08:12:52 2016 +0000
@@ -240,7 +240,7 @@
 
 getBall()
 {
-    // keep update car's and ball's position date from bluetooth
+    // keep update car's and ball's position data from bluetooth
     
     // if angleR is too much, stop , aim the direction, then move again  
     
@@ -248,7 +248,7 @@
     
     // check if ball is inside the region , 
     
-    // Yes -->  next state case
+    // Yes -->  next state case 4
     
     // No -->   take back the claw
     
@@ -257,6 +257,15 @@
         
 }
 
+*******  moveToGate() ***************************
+
+moveToGate()
+{
+    
+    
+    
+}
+