2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
51:cb430192b28b
Parent:
50:8ea4714316ce
Child:
52:d9e1629da852
--- a/manualMode.h	Sat Sep 26 08:43:21 2015 +0000
+++ b/manualMode.h	Sun Sep 27 05:02:15 2015 +0000
@@ -3,13 +3,16 @@
 
 void manualMovePs3()
 {
-    if(analog_ly>10) {
+    
+    /*if(analog_ly>10) {
         Move_l(-0.4);
         Move_r(0.4);
-    } else if(analog_ly<-10) {
+    } 
+    else if(analog_ly<-10) {
         Move_l(0.4);
         Move_r(-0.4);
-    } else {
+    } 
+    else {
         if(analog_lx>10) {
             Move_l(0.4);
             Move_r(0.4);
@@ -20,12 +23,12 @@
             Move_l(0.0);
             Move_r(0.0);
         }
-    }
+    }*/
 }
 
 void manualPs3()
 {
-    if(circle) {
+    /*if(circle) {
         if(edge_circle) edge_circle=0,autoflag=1,Indicator4=1,IndicatorAuto=0;
     } 
     else if(triangle) targSwingRadVelocity = swingspeed;
@@ -40,7 +43,7 @@
         contSwing.reset();
     }
     else if(r1) sendData(1,4);
-    else if(l1) sendData(1,5);
+    else if(l1) sendData(1,5);*/
 }
 
 #endif /*manualMode.h*/
\ No newline at end of file