yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: main.cpp
- Revision:
- 3:05b1dcb3634e
- Parent:
- 2:4515e8cc6b60
- Child:
- 4:187c62291654
diff -r 4515e8cc6b60 -r 05b1dcb3634e main.cpp --- a/main.cpp Sun Aug 05 03:32:55 2018 +0000 +++ b/main.cpp Mon Aug 06 04:30:05 2018 +0000 @@ -2,10 +2,11 @@ #include "debug.h"//DEBUG("",変数);でデバッグ。 #include "state.h" #include "go.h" -#include "hand.h" +#include "servo.h" #include "calplace.h" #include "interrupt.h" #include "position.h" +#include "controller.h" ///setup関連を集めた void Setups(); void Tests(); @@ -15,6 +16,7 @@ { DEBUG("setup start\r\n"); Setups(); + while(CanStart() == 0){}; DEBUG("main start"); while(1) { int worknum = CalPickPlace();//目標ワーク計算