yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: main.cpp
- Revision:
- 34:722ab43f7cbd
- Parent:
- 33:3902febe8c45
- Child:
- 35:f01c5dc7592f
diff -r 3902febe8c45 -r 722ab43f7cbd main.cpp --- a/main.cpp Wed Sep 05 01:18:05 2018 +0000 +++ b/main.cpp Wed Sep 05 02:43:39 2018 +0000 @@ -47,12 +47,14 @@ //3のときだけ特別に速度下げる if(worknum == 3) kServoVelocity_mm = 100; if(Go(shootingbox[boxspace]) != 0) continue; + __disable_irq();//割込み禁止 ManualPutPlace(shootingbox[boxspace]); kServoVelocity_mm = 300; //放す Open(); - wait_ms(kWait_ms); + wait_ms(1000); //上に持ち上げる + __enable_irq();//割込み許可 Above(BOX); wait_ms(kWait_ms); //置いたことを保存