2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
26:8e6c736b6791
Parent:
22:3996c3f41922
Child:
28:c6ed6fb95795
--- a/autoMode.h	Fri Sep 18 03:22:10 2015 +0000
+++ b/autoMode.h	Fri Sep 18 04:00:33 2015 +0000
@@ -7,7 +7,7 @@
 
 /***Ps3 correspondence***/
 void autoPs3(){
-    if(up) targ_velocity=speed;
+    /*if(up) targ_velocity=speed;
     else if(down) targ_velocity=-speed;
     else if(right) targ_velocity=0.0,targ_sita=0.0;
     else if(left) targ_velocity=0.0,targ_sita=PI/2.0;
@@ -57,7 +57,7 @@
             cylinder_step++;
             sendData(1, cylinder_step);
         }
-    }
+    }*/
 }