aaa

Fork of Move by 涼太郎 中村

Revision:
27:4242d6187281
Parent:
26:0584d68e8f30
Child:
28:e4b81ad2e188
--- a/move.cpp	Sat Sep 10 17:38:58 2016 +0000
+++ b/move.cpp	Sat Sep 10 17:41:32 2016 +0000
@@ -105,9 +105,9 @@
     }
 
     hosei_turn(0, false, rad);
-    wait(0.5);
+    wait(0.2);
     hosei_turn(0, false, rad);
-    wait(0.5);
+    wait(0.2);
     green = 0;
 }
 
@@ -129,9 +129,9 @@
     }
 
     hosei_turn(0, false, rad);
-    wait(0.5);
+    wait(0.2);
     hosei_turn(0, false, rad);
-    wait(0.5);
+    wait(0.2);
     green = 0;
 }
 
@@ -194,8 +194,6 @@
     if(*d_length < 0)   //x,y減少方向なら、*d_length<0
         direction *= -1;
 
-    pc2.printf("direction:%d", direction);
-
     switch(direction) {
         case X_PLUS:
             ptheta = 0;
@@ -275,8 +273,6 @@
 
     length = sqrt(pow((double)(x - coordinateX()), 2) + pow((double)(y - coordinateY()), 2));
 
-    pc2.printf("length:%f", length);
-
     if(length == 0) {
         red=1;
         return;