2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
82:1bbe138c0b76
Parent:
79:7f86e18f40ef
--- a/main_ps3.cpp	Sun Oct 11 07:42:18 2015 +0000
+++ b/main_ps3.cpp	Sun Oct 11 08:51:11 2015 +0000
@@ -69,7 +69,7 @@
 #ifdef BLUE
             //Blue            
             /********************************Nomal Mode*********************************/
-            if((step==0)&&((8650.0>x)&&(x>900.0))) targ_sita=0.03,step=1; /*nomal*/
+            if((step==0)&&((8650.0>x)&&(x>800.0))) targ_sita=0.03,step=1; /*nomal*/
             if((step==1)&&(x>8650.0)) {
                 step=2;
                 flagf=0;
@@ -111,7 +111,7 @@
                 targ_sita=0.03;
                 step=5;
             }
-            if((step==5)&&(x>4900.0)) {
+            if((step==5)&&(x>5000.0)) {
                 step=6;
                 sendData(1,5);
                 flagf=0;