2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
60:4a75f3f3a934
Parent:
57:3fbd487e055e
Child:
61:e018207ae860
--- a/autoMode.h	Thu Oct 01 09:52:36 2015 +0000
+++ b/autoMode.h	Fri Oct 02 07:24:52 2015 +0000
@@ -91,9 +91,11 @@
     }
     else if(up){  /*start*/
         targ_velocity=speed;
-        sendData(5,defoR);
+//        sendData(5,defoR);
+        sendData(5,13);
         wait(0.1);
-        sendData(4,defoL);
+//        sendData(4,defoL);
+        sendData(4,13);
         wait(0.1);
         stateR = defoR;
         stateL = defoL;
@@ -105,9 +107,9 @@
         wait(0.1);
     }
     else if(triangle){ /*set defo*/
-        sendData(5,defoL);
+        sendData(5,defoR);
         wait(0.1);
-        sendData(4,defoR);
+        sendData(4,defoL);
         wait(0.1);
     }
     else if(cross){  /*stop*/