yei

Dependencies:   interface mbed enc_1multi calPID motorout KondoServoLibrary

Fork of cat18_operate by Catch the GIANT Caplico!

Revision:
9:a553ace4d9d1
Parent:
8:cabc50cf3e1e
diff -r cabc50cf3e1e -r a553ace4d9d1 main.cpp
--- a/main.cpp	Fri Aug 10 07:47:22 2018 +0000
+++ b/main.cpp	Sat Aug 11 06:09:04 2018 +0000
@@ -7,17 +7,23 @@
 #include "position.h"
 #include "controller.h"
 #include "interface.h"
+#include "coordinate.h"
 ///setup関連を集めた
 void Setups();
 void Tests();
 Interface interface(USBTX, USBRX);
 int main()
 {
+    
+   
     DEBUG("setup start\r\n");
     Setups();
     //スタート指示受付
     while(CanStart() == 0){};
     DEBUG("main start");
+    for(int i=0;i<23;i++){
+    DEBUG("work %d : %d\r\n",i,work[i].is_exist);
+    }
     int worknum = 0;
     while( (worknum = CalPickPlace()) != 23 ) {
         //ワークに向かう
@@ -45,7 +51,7 @@
 {
     GoSetup();
     SetupPosition();
-    InterruptSetup();
+    //InterruptSetup();
 }
 void Tests()
 {