yei

Dependencies:   interface mbed enc_1multi calPID motorout KondoServoLibrary

Fork of cat18_operate by Catch the GIANT Caplico!

Revision:
24:b4a89db4ed72
Parent:
23:f45eb02433a5
Child:
26:5e292422cc08
--- a/workinfo/workinfo.cpp	Sun Sep 02 07:53:06 2018 +0000
+++ b/workinfo/workinfo.cpp	Mon Sep 03 05:37:21 2018 +0000
@@ -163,8 +163,6 @@
         work[i].position[0] = -630 + 180 * i;
         work[i + 3].position[0] = -540 + 180 * i;
     }
-    //handの先の値となるよう修正
-    for(int i = 0; i < kWorkAreaNum; i++) work[i].position[0] += kHandCenter;
     //y座標
     for(int i=0; i<3; i++) {
         work[i].position[1]=140;
@@ -179,7 +177,6 @@
         work[i+11].position[0]=-595+(i-kCommonStart)*80;
     }
     for(int i=12; i<17; i++) work[i].position[0]=-555+(i-12)*80;
-    for(int i = kCommonStart; i < kCommonStart + kCommonAreaNum; i++) work[i].position[0] += kHandCenter;
     //y座標
     for(int i=kCommonStart; i<sizeof(work)/sizeof(work[0]); i++) {
         if(i<12) {